From 5e1985478cbfa81a2f481c2faa7e0d6d401906c5 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 20 Nov 2014 18:34:50 +0000 Subject: [PATCH] update entities dialog --- static/js/entitiesDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/entitiesDialog.js b/static/js/entitiesDialog.js index 795f9d9a2..7b4151dd2 100644 --- a/static/js/entitiesDialog.js +++ b/static/js/entitiesDialog.js @@ -100,7 +100,7 @@ pandora.ui.entitiesDialog = function(options) { }, select: function(data) { var text = Ox.formatCount( - data.ids, + data.ids.length, Ox._('entity'), Ox._('entities') ) + ' ' + Ox._('selected'); @@ -343,7 +343,7 @@ pandora.ui.entitiesDialog = function(options) { width: 240 - Ox.SCROLLBAR_SIZE }) .css({ - margin: index == 0 ? '4px' : '16px 4px 4px 4px' + margin: (index == 0 ? 4 : 16) + 'px 4px 8px 4px' }) .appendTo($form), $input;