mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Update src/node/handler/ImportHandler.js
This commit is contained in:
parent
c8b93f6ddc
commit
b27287ce37
1 changed files with 9 additions and 1 deletions
|
@ -196,6 +196,14 @@ exports.doImport = function(req, res, padId)
|
||||||
ERR(err);
|
ERR(err);
|
||||||
|
|
||||||
//close the connection
|
//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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue