summaryrefslogtreecommitdiff
path: root/src/node/handler
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2012-05-23 00:51:03 +0200
committerJohn McLear <john@mclear.co.uk>2012-05-23 00:51:03 +0200
commitdafa44e6b4c9136daa07971167f16d4082f194ea (patch)
treeb970f8a74eaa1bd252e7317c3cb90af94b682b9b /src/node/handler
parentb27287ce37bacf8b8d6099481e0241a7a008b4a9 (diff)
downloadetherpad-lite-dafa44e6b4c9136daa07971167f16d4082f194ea.zip
I hate how hacky this change is.
Diffstat (limited to 'src/node/handler')
-rw-r--r--src/node/handler/ImportHandler.js10
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);
});
}