mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
mheh no browser requirement at all
This commit is contained in:
parent
c2c0cb6907
commit
2a062f8dc3
1 changed files with 2 additions and 2 deletions
|
@ -234,8 +234,8 @@ exports.doImport = function(req, res, padId)
|
|||
ERR(err);
|
||||
|
||||
//close the connection
|
||||
// res.send("<head><script type='text/javascript' src='../../static/js/jquery.js'></script><script type='text/javascript' src='../../static/js/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);
|
||||
res.send("<head><script type='text/javascript' src='../../static/js/jquery.js'></script><script type='text/javascript' src='../../static/js/browser.js'></script></head><script>$(window).load(function(){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></head><script>$(window).load(function(){ if(navigator.userAgent.indexOf('MSIE') === -1){ document.domain = document.domain; } var impexp = window.parent.padimpexp.handleFrameCall('" + status + "'); })</script>", 200);
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue