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), '
x
'+testHTML+''); + outerHTML.push('', '', scriptTag(outerScript), '
x
'); var outerFrame = document.createElement("IFRAME"); outerFrame.name = "ace_outer"; - outerFrame.setAttribute("sandbox", "allow-same-origin allow-scripts allow-popups allow-forms allow-modals"); outerFrame.frameBorder = 0; // for IE outerFrame.title = "Ether"; info.frame = outerFrame; diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index 4473126cd..9586de1df 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -5006,12 +5006,6 @@ function Ace2Inner(){ }); }) -/* - $(root).on("dragend", function(e){ - top.console.log("dragend"); - }); - - $(root).on("drop", function(e){ top.console.log("DROP"); if(e.target.a || e.target.localName === "a"){ @@ -5026,7 +5020,6 @@ function Ace2Inner(){ e: e }); }); -*/ // CompositionEvent is not implemented below IE version 8 if ( !(browser.msie && parseInt(browser.version <= 9)) && document.documentElement) diff --git a/src/static/js/pad.js b/src/static/js/pad.js index b4f3c1b61..877ef45d9 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -522,11 +522,6 @@ var pad = { pad.initTime = +(new Date()); pad.padOptions = clientVars.initialOptions; - if ((!browser.msie) && (!(browser.firefox && browser.version.indexOf("1.8.") == 0))) - { -// document.domain = document.domain; // for comet - } - // for IE if (browser.msie) {