Skip to content

Commit

Permalink
Escape translation for JS; fixes #3200
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Nov 28, 2017
1 parent 595010c commit b7f4bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/html.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3485,7 +3485,7 @@ static function initEditorSystem($name, $rand = '', $display = true, $readonly =
$('#$name').closest('form').find('input[type=submit]').click(function() {
editor.save();
if ($('#$name').val() == '') {
alert('".__('The description field is mandatory')."');
alert('".__s('The description field is mandatory')."');
}
});
editor.on('keyup', function (e) {
Expand Down

0 comments on commit b7f4bd9

Please sign in to comment.