From fd518a8844af2192b32e1b2e8a0fa448062cee7b Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 16 Jan 2014 05:57:05 +0000 Subject: [PATCH] typo --- static/js/documentsPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/documentsPanel.js b/static/js/documentsPanel.js index fe2c80170..d421010b0 100644 --- a/static/js/documentsPanel.js +++ b/static/js/documentsPanel.js @@ -724,7 +724,7 @@ pandora.ui.documentsPanel = function(options) { )) .setItemTitle('replace', Ox._('Replace ' + 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 > 0 ? 'enableItem' : 'disableItem']('delete'); }