From b1a570ae420b7205ea315895a543ca97720cdd9e Mon Sep 17 00:00:00 2001 From: j Date: Wed, 25 Jan 2017 21:46:22 +0100 Subject: [PATCH] update document context browser --- static/js/documentBrowser.js | 3 +++ 1 file changed, 3 insertions(+) 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({