forked from 0x2620/pandora
add document collection from results (fixup)
This commit is contained in:
parent
a309a9c3f5
commit
aab6dcc31a
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue