From b702a9c31c953a6d70bcd892c56ee39c449cfadb Mon Sep 17 00:00:00 2001 From: mattpass Date: Mon, 21 Sep 2020 16:58:04 +0100 Subject: [PATCH] Extra escaping needed to show new line in alert msg --- lib/file-control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file-control.php b/lib/file-control.php index 81de883..09caa7a 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -465,7 +465,7 @@ if (!$error && "perms" === $_GET['action']) { $doNext = $extraProcessesClass->onFileDirPerms($doNext, $_GET['perms']); } else { $finalAction = "nothing"; - $doNext .= "ICEcoder.message('" . $t['Sorry, cannot change...'] . " \\n" . $file . "');"; + $doNext .= "ICEcoder.message('" . $t['Sorry, cannot change...'] . " \\\\n" . $file . "');"; } $doNext .= 'ICEcoder.serverMessage(); ICEcoder.serverQueue("del");'; };