mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Fix more Firefox 32 issues
This commit is contained in:
parent
76e8ea835f
commit
fc91deb69e
1 changed files with 3 additions and 0 deletions
|
|
@ -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));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue