This commit is contained in:
rolux 2014-01-16 05:57:05 +00:00
parent 078c4f9cd9
commit fd518a8844

View file

@ -724,7 +724,7 @@ pandora.ui.documentsPanel = function(options) {
)) ))
.setItemTitle('replace', Ox._('Replace ' + string + '...')) .setItemTitle('replace', Ox._('Replace ' + string + '...'))
.setItemTitle('delete', Ox._('Delete ' + string + '...')) .setItemTitle('delete', Ox._('Delete ' + string + '...'))
[selected.length > 0 ? 'enableItem' : 'disableItem']('add'); [selected.length > 0 ? 'enableItem' : 'disableItem']('add')
[selected.length == 1 ? 'enableItem' : 'disableItem']('replace') [selected.length == 1 ? 'enableItem' : 'disableItem']('replace')
[selected.length > 0 ? 'enableItem' : 'disableItem']('delete'); [selected.length > 0 ? 'enableItem' : 'disableItem']('delete');
} }