www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 253e439a0c0e95a694489f598ebf42346e57a6dd
parent 36cba09f6d9e11daa7cebdf9a34c2254e8d90ecb
Author: Simon Kornblith <simon@simonster.com>
Date:   Fri,  5 Nov 2010 03:14:36 +0000

fix DOM XML


Diffstat:
Mchrome/content/zotero/xpcom/translation/translate.js | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js @@ -816,7 +816,10 @@ Zotero.Translate.Base.prototype = { "Zotero.Collection = function () {};"+ "Zotero.Collection.prototype.complete = function() { Zotero._collectionDone(this); };"+ // https://bugzilla.mozilla.org/show_bug.cgi?id=609143 - can't pass E4X to sandbox in Fx4 - "Zotero.getXML = function() { return new XML(Zotero._getXML()); }" + "Zotero.getXML = function() {"+ + "var xml = Zotero._getXML();"+ + "if(typeof xml == 'string') return new XML(xml);"+ + "}" ); this._sandboxManager.importObject(this.Sandbox, this);