More escaping needed to output to JS fine

This commit is contained in:
Matt Pass
2014-11-21 16:38:11 +00:00
parent 7acd53dd54
commit cab12fd73c

View File

@@ -250,7 +250,7 @@ if (!$error && $_GET['action']=="save") {
} else {
$finalAction = "nothing";
$doNext .= "top.ICEcoder.message('".$t['Sorry, cannot save']."\\n".$file."');";
$doNext .= "top.ICEcoder.message('".$t['Sorry, cannot save']."\\\\n".$file."');";
}
$doNext .= 'top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);';
}