From 929716688907b51e5d0fd537ff495afd5f08df1b Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 7 Jan 2014 08:37:03 +0000 Subject: [PATCH] typos --- static/js/documentsPanel.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/js/documentsPanel.js b/static/js/documentsPanel.js index 00e6a58c..b14ad5d2 100644 --- a/static/js/documentsPanel.js +++ b/static/js/documentsPanel.js @@ -147,7 +147,7 @@ pandora.ui.documentsPanel = function(options) { change: function(data) { var key = data.value; pandora.UI.set({documentsSort: [{ - key: key; + key: key, operator: Ox.getObjectById(columns, key).operator }]}); } @@ -325,7 +325,7 @@ pandora.ui.documentsPanel = function(options) { collapsible: isItemView, collapsed: !ui.showDocument, element: $itemPanel, - size: ui.documentSize + size: ui.documentSize, resizable: isItemView, resize: isItemView ? [192, 256, 320, 384] : [] } @@ -342,7 +342,7 @@ pandora.ui.documentsPanel = function(options) { that.bindEvent( 'documentsSelection.' + (isItemView ? ui.item : ''), selectDocuments - }); + ); function addDocuments() { pandora.api.addDocument({ @@ -588,7 +588,7 @@ pandora.ui.documentsPanel = function(options) { )); } else { $itemMenu.setItemTitle('addtoitem', Ox._( - : 'Add ' + string + ' to Current ' + 'Add ' + string + ' to Current ' + pandora.site.itemName.singular )) .setItemTitle('addtolist', Ox._( @@ -615,7 +615,7 @@ pandora.ui.documentsPanel = function(options) { ? [{key: 'name', value: value, operator: '='}] : [], key == 'all' - ? [key: 'description', value: value, operator: '='] + ? [{key: 'description', value: value, operator: '='}] : [], key != 'name' ? [{key: 'user', value: value, operator: '='}]