From cd9ec0555991f3f62cf4fcf29bbdaea5d99aa3e3 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 20 Nov 2014 13:38:28 +0000 Subject: [PATCH] update entities dialog --- static/js/entitiesDialog.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/static/js/entitiesDialog.js b/static/js/entitiesDialog.js index e23da8d8..7009b423 100644 --- a/static/js/entitiesDialog.js +++ b/static/js/entitiesDialog.js @@ -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) {