summaryrefslogtreecommitdiff
path: root/src/node/handler/ImportHandler.js
diff options
context:
space:
mode:
authorgoldquest <tjwelde@gmail.com>2013-01-23 16:36:37 +0100
committergoldquest <tjwelde@gmail.com>2013-01-23 16:36:37 +0100
commit74185e79abdc6ac35e70304be5294b24be7495b0 (patch)
tree1d71b3c2fc899466c830bc8920ae24a95f2a4328 /src/node/handler/ImportHandler.js
parent557b5c1ad089764d0ff602887f4b653fb3573d70 (diff)
downloadetherpad-lite-74185e79abdc6ac35e70304be5294b24be7495b0.zip
use the existing padimpexp object from the parent window
Diffstat (limited to 'src/node/handler/ImportHandler.js')
-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 b8700141..ac856a60 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.require('/pad_impexp').padimpexp.handleFrameCall('" + status + "');})</script>", 200);
+ 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);
});
}