add document collection from results (fixup)

This commit is contained in:
j 2019-08-15 14:12:35 +02:00
parent a309a9c3f5
commit aab6dcc31a

View file

@ -139,7 +139,7 @@ pandora.addFolderItem = function(section) {
documents: 'addCollection', documents: 'addCollection',
edits: 'addEdit' edits: 'addEdit'
}[section]](data, function(result) { }[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) { function getPosterFrames(newList) {