update document context browser

This commit is contained in:
j 2017-01-25 21:46:22 +01:00
parent e4316c9b44
commit b1a570ae42

View file

@ -69,6 +69,9 @@ pandora.ui.documentBrowser = function() {
}, },
toggle: function(data) { toggle: function(data) {
pandora.UI.set({showBrowser: !data.collapsed}); pandora.UI.set({showBrowser: !data.collapsed});
},
pandora_document: function(data) {
that.options({selected: [data.value]});
} }
}) })
.bindEventOnce({ .bindEventOnce({