diff options
author | John McLear <john@mclear.co.uk> | 2012-05-23 00:49:12 +0200 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2012-05-23 00:49:12 +0200 |
commit | b27287ce37bacf8b8d6099481e0241a7a008b4a9 (patch) | |
tree | 5cf0fb5459aa767ebf349d43eff9183df8a02571 | |
parent | c8b93f6ddcdda0fbbec65b3ddbed366703066e1a (diff) | |
download | etherpad-lite-b27287ce37bacf8b8d6099481e0241a7a008b4a9.zip |
Update src/node/handler/ImportHandler.js
-rw-r--r-- | src/node/handler/ImportHandler.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/node/handler/ImportHandler.js b/src/node/handler/ImportHandler.js index 9eb485fa..da8dcf57 100644 --- a/src/node/handler/ImportHandler.js +++ b/src/node/handler/ImportHandler.js @@ -196,6 +196,14 @@ 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); }); } |