From aab6dcc31a227e3a0869c71c915cee07b86675c4 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 15 Aug 2019 14:12:35 +0200 Subject: [PATCH] add document collection from results (fixup) --- static/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index f5e44f2d..467d7818 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -139,7 +139,7 @@ pandora.addFolderItem = function(section) { documents: 'addCollection', edits: 'addEdit' }[section]](data, function(result) { - section == 'documents' ? reloadFolder(newList) : getPosterFrames(result.data.id); + section == 'documents' ? reloadFolder(result.data.id) : getPosterFrames(result.data.id); }); } function getPosterFrames(newList) {