documents panel: testing

This commit is contained in:
rolux 2014-11-21 16:37:50 +00:00
parent b8b91592b5
commit 83c01841c4

View file

@ -756,7 +756,7 @@ pandora.ui.documentsPanel = function(options) {
selectDocumentsLater();
}
function selectDocumentsLater() {
if ($list.value($list.options('selected')[0])) {
if (!Ox.isEmpty($list.value($list.options('selected')[0]))) {
selectDocuments();
} else {
setTimeout(selectDocumentsLater, 100);