summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgoldquest <tjwelde@gmail.com>2013-04-02 16:42:50 +0200
committergoldquest <tjwelde@gmail.com>2013-04-05 15:35:03 +0200
commitcbf0535f972aaeb9d146507a3827152b56c6ecbd (patch)
tree93893fd96902ffb6a787380fa0190f205268a1ba /src
parent38f54057a0c83bba40c952a3d496fe557faf9195 (diff)
downloadetherpad-lite-cbf0535f972aaeb9d146507a3827152b56c6ecbd.zip
browser detection was dropped in jquery 1.9, so we have to add the browser detection js file
Diffstat (limited to 'src')
-rw-r--r--src/node/handler/ImportHandler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/handler/ImportHandler.js b/src/node/handler/ImportHandler.js
index 7bb9c5db..a155f5c6 100644
--- a/src/node/handler/ImportHandler.js
+++ b/src/node/handler/ImportHandler.js
@@ -176,7 +176,7 @@ exports.doImport = function(req, res, padId)
ERR(err);
//close the connection
- res.send("<head><script type='text/javascript' src='../../static/js/jquery.js'></script></head><script>$(window).load(function(){if ( (!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf(\"1.8.\") == 0)) ){document.domain = document.domain;}var impexp = window.parent.padimpexp.handleFrameCall('" + status + "');})</script>", 200);
+ res.send("<head><script type='text/javascript' src='../../static/js/jquery.js'></script><script type='text/javascript' src='../../static/js/jquery_browser.js'></script></head><script>$(window).load(function(){if ( (!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf(\"1.8.\") == 0)) ){document.domain = document.domain;}var impexp = window.parent.padimpexp.handleFrameCall('" + status + "');})</script>", 200);
});
}