From 51963b0984813b0fbb64ce9fffec42ca4530b41d Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 20 Nov 2014 20:33:17 +0000 Subject: [PATCH] typo --- static/js/entitiesDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/entitiesDialog.js b/static/js/entitiesDialog.js index 79160d8af..194f8018d 100644 --- a/static/js/entitiesDialog.js +++ b/static/js/entitiesDialog.js @@ -390,7 +390,7 @@ pandora.ui.entitiesDialog = function(options) { $itemMenu.setItemTitle('delete', Ox._('Delete {0}...', [ Ox._(ui.entitiesSelection[type].length < 2 ? 'Entity' : 'Entities') ])); - $deselectButton[data.ids.length ? 'show' : 'hide'](); + $deselectButton[ui.entitiesSelection[type].length ? 'show' : 'hide'](); renderForm(); $itemStatus.html(text[0].toUpperCase() + text.slice(1)); }