fix delete document dialog
This commit is contained in:
parent
dfce5b4d88
commit
16491d18b2
2 changed files with 14 additions and 7 deletions
|
|
@ -418,11 +418,16 @@ pandora.ui.documentsPanel = function(options) {
|
|||
}
|
||||
|
||||
function deleteDocuments() {
|
||||
pandora.ui.deleteDocumentDialog($list.options('selected'), function() {
|
||||
Ox.Request.clearCache();
|
||||
// ...
|
||||
$list.reloadList();
|
||||
}).open();
|
||||
pandora.ui.deleteDocumentDialog(
|
||||
$list.options('selected').map(function(id) {
|
||||
return $list.value(id);
|
||||
}),
|
||||
function() {
|
||||
Ox.Request.clearCache();
|
||||
// ...
|
||||
$list.reloadList();
|
||||
}
|
||||
).open();
|
||||
}
|
||||
|
||||
function editDocuments() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue