commit 335395f05f03426886d33e203f974badee1adcdf
parent aa07db50a1c081a3f0ff8fa309c4cee5fe8a2ca0
Author: Simon Kornblith <simon@simonster.com>
Date: Sat, 31 Dec 2011 17:57:34 +0000
Fix _runHandler error. This does not fix the hang in PDF metaata retrieval.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js
@@ -849,7 +849,7 @@ Zotero.Translate.Base.prototype = {
args.push(arguments[i]);
}
- for(var i=0, n=this._handlers[type].length; i<n; i++) {
+ for(var i=0; i<this._handlers[type].length; i++) {
Zotero.debug("Translate: Running handler "+i+" for "+type, 5);
try {
returnValue = this._handlers[type][i].apply(null, args);