jmontoyaa преди 7 години
родител
ревизия
1203d7e780
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      main/document/document.php

+ 1 - 1
main/document/document.php

@@ -738,7 +738,7 @@ $tool_visibility = $tool_row['visibility'];*/
 
 $htmlHeadXtra[] = '<script>
 function confirmation (name) {
-    if (confirm(" '.get_lang('AreYouSureToDeleteJS').' "+ name + " ?")) {
+    if (confirm(" '.addslashes(get_lang('AreYouSureToDeleteJS')).' "+ name + " ?")) {
         return true;
     } else {
         return false;