commit f71ad877b1cd245d5c4b18d515a60bebb98a5a2a
parent 12b72581abc0e5b778e16a461f42f9352cd9d741
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 13 Sep 2011 16:41:43 +0000
Fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translation/translate_item.js b/chrome/content/zotero/xpcom/translation/translate_item.js
@@ -646,7 +646,7 @@ Zotero.Translate.ItemGetter.prototype = {
var targetFile = Components.classes["@mozilla.org/file/local;1"].
createInstance(Components.interfaces.nsILocalFile);
targetFile.initWithFile(exportDir);
- for(var dir in attachPath.split("/")) targetFile.append(dir);
+ for each(var dir in attachPath.split("/")) targetFile.append(dir);
// First, check that we have not gone lower than exportDir in the hierarchy
var parent = targetFile, inExportFileDirectory;