From 0e8dcac21265d8a373097a52a5c41cbec6b30621 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 20 Nov 2014 18:51:23 +0000 Subject: [PATCH] update entities dialog --- static/js/entitiesDialog.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/entitiesDialog.js b/static/js/entitiesDialog.js index 7b4151dd..40ca861f 100644 --- a/static/js/entitiesDialog.js +++ b/static/js/entitiesDialog.js @@ -74,6 +74,7 @@ pandora.ui.entitiesDialog = function(options) { items: function(options, callback) { pandora.api.findEntities({ keys: options.keys, + positions: options.positions, query: { conditions: [ {key: 'type', operator: '==', value: type} @@ -106,6 +107,7 @@ pandora.ui.entitiesDialog = function(options) { ) + ' ' + Ox._('selected'); selected = data.ids; renderEntity(); + $deselectButton[data.ids.length ? 'show' : 'hide'](); renderForm(); $itemStatus.html(text[0].toUpperCase() + text.slice(1)); }