Fix _runHandler error. This does not fix the hang in PDF metaata retrieval.

This commit is contained in:
Simon Kornblith 2011-12-31 17:57:34 +00:00
parent aa07db50a1
commit 335395f05f

View file

@ -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);