update entities dialog
This commit is contained in:
parent
48f0f002e0
commit
cd9ec05559
1 changed files with 13 additions and 0 deletions
|
@ -285,6 +285,19 @@ pandora.ui.entitiesDialog = function(options) {
|
|||
// resize: ...
|
||||
});
|
||||
|
||||
function deleteEntities() {
|
||||
pandora.ui.deleteEntityDialog(
|
||||
$list.options('selected').map(function(id) {
|
||||
return $list.value(id);
|
||||
}),
|
||||
function() {
|
||||
Ox.Request.clearCache();
|
||||
// ...
|
||||
$list.reloadList();
|
||||
}
|
||||
).open();
|
||||
}
|
||||
|
||||
function renderEntity() {
|
||||
var id = selected[0];
|
||||
if (!id) {
|
||||
|
|
Loading…
Reference in a new issue