www

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

commit fc91deb69eca639380ff630acd7ef749743b8a64
parent 76e8ea835f1024beb52e2f260ddb4b5e12f05d1f
Author: Simon Kornblith <simon@simonster.com>
Date:   Sat, 21 Jun 2014 13:25:33 -0400

Fix more Firefox 32 issues

Diffstat:
Mchrome/content/zotero/xpcom/translation/translate_firefox.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/translation/translate_firefox.js b/chrome/content/zotero/xpcom/translation/translate_firefox.js @@ -462,6 +462,9 @@ Zotero.Translate.SandboxManager.prototype = { if(isFunction) { attachTo[localKey] = function() { var args = Array.prototype.slice.apply(arguments); + for(var i=0; i<args.length; i++) { + if(args[i].wrappedJSObject) args[i] = args[i].wrappedJSObject; + } if(passAsFirstArgument) args.unshift(passAsFirstArgument); return me._copyObject(object[localKey].apply(object, args)); };