diff --git a/static/js/documentBrowser.js b/static/js/documentBrowser.js index d7d6100a..576156f1 100644 --- a/static/js/documentBrowser.js +++ b/static/js/documentBrowser.js @@ -69,6 +69,9 @@ pandora.ui.documentBrowser = function() { }, toggle: function(data) { pandora.UI.set({showBrowser: !data.collapsed}); + }, + pandora_document: function(data) { + that.options({selected: [data.value]}); } }) .bindEventOnce({