fix delete document dialog

This commit is contained in:
rolux 2014-01-16 02:57:15 +00:00
commit 16491d18b2
2 changed files with 14 additions and 7 deletions

View file

@ -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() {