update entities dialog

This commit is contained in:
rolux 2014-11-20 18:34:50 +00:00
parent 6fc0ce4d87
commit 5e1985478c

View file

@ -100,7 +100,7 @@ pandora.ui.entitiesDialog = function(options) {
}, },
select: function(data) { select: function(data) {
var text = Ox.formatCount( var text = Ox.formatCount(
data.ids, data.ids.length,
Ox._('entity'), Ox._('entity'),
Ox._('entities') Ox._('entities')
) + ' ' + Ox._('selected'); ) + ' ' + Ox._('selected');
@ -343,7 +343,7 @@ pandora.ui.entitiesDialog = function(options) {
width: 240 - Ox.SCROLLBAR_SIZE width: 240 - Ox.SCROLLBAR_SIZE
}) })
.css({ .css({
margin: index == 0 ? '4px' : '16px 4px 4px 4px' margin: (index == 0 ? 4 : 16) + 'px 4px 8px 4px'
}) })
.appendTo($form), .appendTo($form),
$input; $input;