commit 32df5736103ba499ab60901e735f462ec6486cdd parent 08cf3d9841e4e27422decab03d88c68e054d3aeb Author: Simon Kornblith <simon@simonster.com> Date: Tue, 6 Mar 2012 00:02:34 -0500 Fix a bug in DOMSerializer.serializeToString implementation Diffstat:
| M | chrome/content/zotero/xpcom/translation/translate_firefox.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translation/translate_firefox.js b/chrome/content/zotero/xpcom/translation/translate_firefox.js @@ -409,7 +409,7 @@ Zotero.Translate.SandboxManager = function(sandboxLocation) { var s = Components.classes["@mozilla.org/xmlextras/xmlserializer;1"] .createInstance(Components.interfaces.nsIDOMSerializer); this.serializeToString = function(doc) { - return s.serializeToString(Zotero.Translate.DOMWrapper.unwrapIfWrapped(doc)); + return s.serializeToString(Zotero.Translate.DOMWrapper.unwrap(doc)); }; }; }