commit 4eccdf724d392421283b482f3667c2276bb92b40
parent 70fad9730ac4884c4f238bedfac3a1c65a5c58c0
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 18 Sep 2012 11:54:00 -0400
Fix RDF in Fx >= 17
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/translation/translate_firefox.js b/chrome/content/zotero/xpcom/translation/translate_firefox.js
@@ -514,6 +514,7 @@ Zotero.Translate.SandboxManager.prototype = {
if(!wm) wm = new WeakMap();
var obj2 = (obj instanceof Array ? new this.sandbox.Array() : new this.sandbox.Object());
+ obj2.__proto__ = obj.__proto__;
for(var i in obj) {
if(!obj.hasOwnProperty(i)) continue;