From 5905e339e3a916406628995fabcc414cfd7e67da Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 14 Feb 2014 13:40:21 +0000 Subject: [PATCH] select new documents after upload, fixes #2058 --- static/js/documentsPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/documentsPanel.js b/static/js/documentsPanel.js index be278e23..a89e97fe 100644 --- a/static/js/documentsPanel.js +++ b/static/js/documentsPanel.js @@ -878,7 +878,7 @@ pandora.ui.documentsPanel = function(options) { Ox.Request.clearCache('findDocuments'); $list.bindEventOnce({ load: function() { - $list.options({selected: [files.ids]}); + $list.options({selected: files.ids}); } }) .reloadList();