Changed simple quote in alerts
Former-commit-id: 48f06d79b9f6e93ba2164d8da6240f28cc4f785c
This commit is contained in:
parent
15446453fb
commit
b508e40a73
|
@ -1062,7 +1062,7 @@ $(document).ready (function () {
|
|||
$("select[name='module[]']").append($("<option></option>").val(id).html(name));
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Repeated'); ?>');
|
||||
alert("<?php echo __('Repeated'); ?>");
|
||||
}
|
||||
$("#module").find("option[value='0']").remove();
|
||||
}
|
||||
|
@ -1078,7 +1078,7 @@ $(document).ready (function () {
|
|||
$("select[name='module[]']").append($("<option></option>").val(id).html(name));
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Repeated'); ?>');
|
||||
alert("<?php echo __('Repeated'); ?>");
|
||||
}
|
||||
$("#module").find("option[value='0']").remove();
|
||||
}
|
||||
|
@ -1094,7 +1094,7 @@ $(document).ready (function () {
|
|||
$("select[name='module[]']").append($("<option></option>").val(id).html(name));
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Repeated'); ?>');
|
||||
alert("<?php echo __('Repeated'); ?>");
|
||||
}
|
||||
$("#module").find("option[value='0']").remove();
|
||||
}
|
||||
|
@ -1110,7 +1110,7 @@ $(document).ready (function () {
|
|||
$("select[name='module[]']").append($("<option></option>").val(id).html(name));
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Repeated'); ?>');
|
||||
alert("<?php echo __('Repeated'); ?>");
|
||||
}
|
||||
$("#module").find("option[value='0']").remove();
|
||||
}
|
||||
|
@ -1126,7 +1126,7 @@ $(document).ready (function () {
|
|||
$("select[name='module[]']").append($("<option></option>").val(id).html(name));
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Repeated'); ?>');
|
||||
alert("<?php echo __('Repeated'); ?>");
|
||||
}
|
||||
$("#module").find("option[value='0']").remove();
|
||||
}
|
||||
|
@ -1151,7 +1151,7 @@ $(document).ready (function () {
|
|||
|| ($("#module option").length == 1
|
||||
&& $("#module option").eq(0).val() == 0)) {
|
||||
|
||||
alert('<?php echo __('Modules list is empty'); ?>');
|
||||
alert("<?php echo __('Modules list is empty'); ?>");
|
||||
return false;
|
||||
}
|
||||
$('#module option').map(function() {
|
||||
|
|
|
@ -571,7 +571,7 @@ $(document).ready (function () {
|
|||
$("select[name='module[]']").append($("<option></option>").val(id).html(name));
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Repeated'); ?>');
|
||||
alert("<?php echo __('Repeated'); ?>");
|
||||
}
|
||||
$("#module").find("option[value='0']").remove();
|
||||
}
|
||||
|
@ -587,7 +587,7 @@ $(document).ready (function () {
|
|||
$("select[name='module[]']").append($("<option></option>").val(id).html(name));
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Repeated'); ?>');
|
||||
alert("<?php echo __('Repeated'); ?>");
|
||||
}
|
||||
$("#module").find("option[value='0']").remove();
|
||||
}
|
||||
|
@ -603,7 +603,7 @@ $(document).ready (function () {
|
|||
$("select[name='module[]']").append($("<option></option>").val(id).html(name));
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Repeated'); ?>');
|
||||
alert("<?php echo __('Repeated'); ?>");
|
||||
}
|
||||
$("#module").find("option[value='0']").remove();
|
||||
}
|
||||
|
@ -619,7 +619,7 @@ $(document).ready (function () {
|
|||
$("select[name='module[]']").append($("<option></option>").val(id).html(name));
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Repeated'); ?>');
|
||||
alert("<?php echo __('Repeated'); ?>");
|
||||
}
|
||||
$("#module").find("option[value='0']").remove();
|
||||
}
|
||||
|
@ -641,7 +641,7 @@ $(document).ready (function () {
|
|||
|
||||
$("#submit-create_modules_btn").click(function () {
|
||||
if($("#module option").length == 0 || ($("#module option").length == 1 && $("#module option").eq(0).val() == 0)) {
|
||||
alert('<?php echo __('Modules list is empty'); ?>');
|
||||
alert("<?php echo __('Modules list is empty'); ?>");
|
||||
return false;
|
||||
}
|
||||
$('#module option').map(function() {
|
||||
|
|
|
@ -1038,7 +1038,7 @@ ui_require_jquery_file('ui.datepicker-'.get_user_language(), 'include/javascript
|
|||
}
|
||||
|
||||
function show_executing_alert () {
|
||||
alert('<?php echo __('This elements cannot be modified while the downtime is being executed'); ?>');
|
||||
alert("<?php echo __('This elements cannot be modified while the downtime is being executed'); ?>");
|
||||
}
|
||||
|
||||
function show_editor_module(id_agent) {
|
||||
|
@ -1168,7 +1168,7 @@ ui_require_jquery_file('ui.datepicker-'.get_user_language(), 'include/javascript
|
|||
var module_sel = $("#modules", $('#module_editor_' + id_agent)).val();
|
||||
|
||||
if (module_sel == 0) {
|
||||
alert('<?php echo __('Please select a module.'); ?>');
|
||||
alert("<?php echo __('Please select a module.'); ?>");
|
||||
}
|
||||
else {
|
||||
action_in_progress = true;
|
||||
|
|
|
@ -357,7 +357,7 @@ function addConnectionMap() {
|
|||
for (var index in connectionMaps) {
|
||||
if (isInt(index)) {
|
||||
if (connectionMaps[index] == idConnectionMap) {
|
||||
alert('<?php echo __('The connection'); ?> "' + connectionMapName + '" <?php echo __('just added previously.'); ?>');
|
||||
alert("<?php echo __('The connection'); ?> "' + connectionMapName + '" <?php echo __('just added previously.'); ?>");
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -391,7 +391,7 @@ $(document).ready (function () {
|
|||
});
|
||||
|
||||
if($('#module')[0].childElementCount == 1 && ($('#module')[0].value == "" || $('#module')[0].value == "0")) {
|
||||
alert('<?php echo __('Please, select a module'); ?>');
|
||||
alert("<?php echo __('Please, select a module'); ?>");
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -3109,7 +3109,7 @@ function addSLARow() {
|
|||
});
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('Could not be created'); ?>');
|
||||
alert("<?php echo __('Could not be created'); ?>");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1189,13 +1189,13 @@ ui_require_javascript_file('pandora_modules');
|
|||
}
|
||||
}
|
||||
else {
|
||||
alert('<?php echo __('The plugin command cannot be updated because some modules or components are using the plugin.'); ?>');
|
||||
alert("<?php echo __('The plugin command cannot be updated because some modules or components are using the plugin.'); ?>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var macros_click_locked_event = function (event) {
|
||||
alert('<?php echo __('The plugin macros cannot be updated because some modules or components are using the plugin'); ?>');
|
||||
alert("<?php echo __('The plugin macros cannot be updated because some modules or components are using the plugin'); ?>");
|
||||
}
|
||||
|
||||
if (locked) {
|
||||
|
|
|
@ -226,7 +226,7 @@ unset($table);
|
|||
url: "ajax.php",
|
||||
success: function (data) {
|
||||
if (data.correct == 0) {
|
||||
alert('<?php echo __('There was error on setup the default map.'); ?>');
|
||||
alert("<?php echo __('There was error on setup the default map.'); ?>");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue