Partially revert 76e8ea835f
Apparently this doesn't work on Firefox 24. Sigh.
This commit is contained in:
parent
f45b219792
commit
dd5160cc73
|
@ -492,9 +492,7 @@ Zotero.Translate.SandboxManager.prototype = {
|
|||
|
||||
"_canCopy":function(obj) {
|
||||
if(typeof obj !== "object" || obj === null) return false;
|
||||
var proto = Object.getPrototypeOf(obj),
|
||||
global = Components.utils.getGlobalForObject(obj);
|
||||
if((proto !== global.Object.prototype && proto !== global.Array.prototype) ||
|
||||
if((obj.constructor.name !== "Object" && obj.constructor.name !== "Array") ||
|
||||
"__exposedProps__" in obj) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user