commit c72da6b56807a93edd51762677c5492bfa6f6887
parent 621e43a39c9ab731a0d9c2a142c46d46c7c3cf24
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 16 Mar 2011 23:03:16 +0000
still maintain instance at the top of the file, because it's safe and won't hurt
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/translation/browser_firefox.js b/chrome/content/zotero/xpcom/translation/browser_firefox.js
@@ -139,6 +139,8 @@ Zotero.Translate.IO.maintainedInstances = [];
/******* (Native) Read support *******/
Zotero.Translate.IO.Read = function(file, mode) {
+ Zotero.Translate.IO.maintainedInstances.push(this);
+
this.file = file;
// open file