forked from 0x2620/pandora
fix new edit form query
This commit is contained in:
parent
0f889f927d
commit
66f9a51769
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ pandora.addFolderItem = function(section) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
data.query = isItems ? ui.find : ui.findDocuments;
|
data.query = section == 'documents' ? ui.findDocuments : ui.find;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ui.section == 'items' && section == 'edits') {
|
if (ui.section == 'items' && section == 'edits') {
|
||||||
|
|
Loading…
Reference in a new issue