diff --git a/src/node/handler/ImportHandler.js b/src/node/handler/ImportHandler.js index 9f96a9267..870c954aa 100644 --- a/src/node/handler/ImportHandler.js +++ b/src/node/handler/ImportHandler.js @@ -291,9 +291,6 @@ exports.doImport = function(req, res, padId) \ " diff --git a/src/static/js/ace.js b/src/static/js/ace.js index 0e81974c4..a5e365ce0 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -286,7 +286,6 @@ window.onload = function () {\n\ iframe.name = "ace_inner";\n\ iframe.title = "pad";\n\ iframe.scrolling = "no";\n\ - iframe.setAttribute("sandbox", "allow-same-origin allow-scripts allow-popups allow-forms allow-modals");\n\ var outerdocbody = document.getElementById("outerdocbody");\n\ iframe.frameBorder = 0;\n\ iframe.allowTransparency = true; // for IE\n\ @@ -326,13 +325,10 @@ window.onload = function () {\n\ // bizarrely, in FF2, a file with no "external" dependencies won't finish loading properly // (throbs busy while typing) - var testHTML = 'WONT WORK in Chrome'; - - outerHTML.push('', '', scriptTag(outerScript), '