diff options
author | John McLear <john@mclear.co.uk> | 2012-05-23 00:51:03 +0200 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2012-05-23 00:51:03 +0200 |
commit | dafa44e6b4c9136daa07971167f16d4082f194ea (patch) | |
tree | b970f8a74eaa1bd252e7317c3cb90af94b682b9b /src/node/handler/ImportHandler.js | |
parent | b27287ce37bacf8b8d6099481e0241a7a008b4a9 (diff) | |
download | etherpad-lite-dafa44e6b4c9136daa07971167f16d4082f194ea.zip |
I hate how hacky this change is.
Diffstat (limited to 'src/node/handler/ImportHandler.js')
-rw-r--r-- | src/node/handler/ImportHandler.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/node/handler/ImportHandler.js b/src/node/handler/ImportHandler.js index da8dcf57..0cf07370 100644 --- a/src/node/handler/ImportHandler.js +++ b/src/node/handler/ImportHandler.js @@ -196,14 +196,6 @@ exports.doImport = function(req, res, padId) ERR(err); //close the connection - res.send(" - <script> - if ( (!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf("1.8.") == 0))) - { - document.domain = document.domain; - } - var impexp = window.top.require('/pad_impexp').padimpexp.handleFrameCall('" + status + "'); - </script> - ", 200); + res.send("<script> if ( (!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf("1.8.") == 0)) ){document.domain = document.domain;}var impexp = window.top.require('/pad_impexp').padimpexp.handleFrameCall('" + status + "');</script>", 200); }); } |