From c72da6b56807a93edd51762677c5492bfa6f6887 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 16 Mar 2011 23:03:16 +0000 Subject: [PATCH] still maintain instance at the top of the file, because it's safe and won't hurt --- chrome/content/zotero/xpcom/translation/browser_firefox.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/translation/browser_firefox.js b/chrome/content/zotero/xpcom/translation/browser_firefox.js index c9cca5e41..0a74902bd 100644 --- 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