select new documents after upload, fixes #2058

This commit is contained in:
j 2014-02-14 13:40:21 +00:00
parent 76b5c4dc3b
commit 5905e339e3

View file

@ -878,7 +878,7 @@ pandora.ui.documentsPanel = function(options) {
Ox.Request.clearCache('findDocuments'); Ox.Request.clearCache('findDocuments');
$list.bindEventOnce({ $list.bindEventOnce({
load: function() { load: function() {
$list.options({selected: [files.ids]}); $list.options({selected: files.ids});
} }
}) })
.reloadList(); .reloadList();