diff --git a/lib/editor/htmlarea.php b/lib/editor/htmlarea.php
index 767f28050b7..6b8d27e649c 100644
--- a/lib/editor/htmlarea.php
+++ b/lib/editor/htmlarea.php
@@ -1882,31 +1882,14 @@ HTMLArea.prototype.execCommand = function(cmdID, UI, param) {
}
} catch (e) {
if (HTMLArea.is_gecko) {
- ", $strgecko);
+ if (confirm("', '\\n', $strmoz);
- echo "var geckonotice = ";
- $cnt = count($lines);
- $i = 2;
- foreach ($lines as $line) {
+ echo addslashes($strmoz);
- if (empty($line)) {
- continue;
- }
-
- $line = addslashes(trim($line));
-
- if ($cnt > $i) {
- echo "\"$line\\n\" + \n";
- } else {
- echo "\"$line\";\n";
- }
- $i++;
- }
-
- ?>
- if (confirm(geckonotice))
+ ?>"))
window.open("http://moodle.org/mozillahelp");
}
}