www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 42cd7752affcd0fd63184e4af7b8df4ed3e35532
parent 86dda4e0183f6753c89fea4ba5b61cf694439c19
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun,  4 Mar 2012 20:35:42 -0500

Fix irregular syntax to please IE indexOf regexp

Diffstat:
Mchrome/content/zotero/xpcom/connector/cachedTypes.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/connector/cachedTypes.js b/chrome/content/zotero/xpcom/connector/cachedTypes.js @@ -130,7 +130,8 @@ Zotero.Connector_Types = new function() { // mimics itemFields.js if(!field || !itemType) return false; - return itemType[4]/* fields */.indexOf(field[0]/* id */) !== -1; + /* fields */ /* id */ + return itemType[4].indexOf(field[0]) !== -1; }; this.getFieldIDFromTypeAndBase = function(typeIdOrName, fieldIdOrName) {