multiline

This commit is contained in:
John McLear 2014-11-25 22:14:48 +00:00
parent 2a062f8dc3
commit 77de2d918b
1 changed files with 13 additions and 2 deletions

View File

@ -234,8 +234,19 @@ 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(navigator.userAgent.indexOf('MSIE') === -1){ 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);
});
}