forked from 0x2620/pandora
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: ...
|
// 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() {
|
function renderEntity() {
|
||||||
var id = selected[0];
|
var id = selected[0];
|
||||||
if (!id) {
|
if (!id) {
|
||||||
|
|
Loading…
Reference in a new issue