From b508e40a7315a4b41fc0998f4cfa192a45bc1f21 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Tue, 14 May 2019 11:11:27 +0200 Subject: [PATCH] Changed simple quote in alerts Former-commit-id: 48f06d79b9f6e93ba2164d8da6240f28cc4f785c --- .../godmode/agentes/agent_wizard.snmp_explorer.php | 12 ++++++------ .../godmode/agentes/agent_wizard.wmi_explorer.php | 10 +++++----- .../godmode/agentes/planned_downtime.editor.php | 4 ++-- .../godmode/gis_maps/configure_gis_map.php | 2 +- .../godmode/reporting/graph_builder.graph_editor.php | 2 +- .../reporting/reporting_builder.item_editor.php | 2 +- pandora_console/godmode/servers/plugin.php | 4 ++-- pandora_console/operation/gis_maps/gis_map.php | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/pandora_console/godmode/agentes/agent_wizard.snmp_explorer.php b/pandora_console/godmode/agentes/agent_wizard.snmp_explorer.php index f424252e32..cd85759d52 100644 --- a/pandora_console/godmode/agentes/agent_wizard.snmp_explorer.php +++ b/pandora_console/godmode/agentes/agent_wizard.snmp_explorer.php @@ -1062,7 +1062,7 @@ $(document).ready (function () { $("select[name='module[]']").append($("").val(id).html(name)); } else { - alert(''); + alert(""); } $("#module").find("option[value='0']").remove(); } @@ -1078,7 +1078,7 @@ $(document).ready (function () { $("select[name='module[]']").append($("").val(id).html(name)); } else { - alert(''); + alert(""); } $("#module").find("option[value='0']").remove(); } @@ -1094,7 +1094,7 @@ $(document).ready (function () { $("select[name='module[]']").append($("").val(id).html(name)); } else { - alert(''); + alert(""); } $("#module").find("option[value='0']").remove(); } @@ -1110,7 +1110,7 @@ $(document).ready (function () { $("select[name='module[]']").append($("").val(id).html(name)); } else { - alert(''); + alert(""); } $("#module").find("option[value='0']").remove(); } @@ -1126,7 +1126,7 @@ $(document).ready (function () { $("select[name='module[]']").append($("").val(id).html(name)); } else { - alert(''); + alert(""); } $("#module").find("option[value='0']").remove(); } @@ -1151,7 +1151,7 @@ $(document).ready (function () { || ($("#module option").length == 1 && $("#module option").eq(0).val() == 0)) { - alert(''); + alert(""); return false; } $('#module option').map(function() { diff --git a/pandora_console/godmode/agentes/agent_wizard.wmi_explorer.php b/pandora_console/godmode/agentes/agent_wizard.wmi_explorer.php index 167dd64eb5..2a61f02de4 100644 --- a/pandora_console/godmode/agentes/agent_wizard.wmi_explorer.php +++ b/pandora_console/godmode/agentes/agent_wizard.wmi_explorer.php @@ -571,7 +571,7 @@ $(document).ready (function () { $("select[name='module[]']").append($("").val(id).html(name)); } else { - alert(''); + alert(""); } $("#module").find("option[value='0']").remove(); } @@ -587,7 +587,7 @@ $(document).ready (function () { $("select[name='module[]']").append($("").val(id).html(name)); } else { - alert(''); + alert(""); } $("#module").find("option[value='0']").remove(); } @@ -603,7 +603,7 @@ $(document).ready (function () { $("select[name='module[]']").append($("").val(id).html(name)); } else { - alert(''); + alert(""); } $("#module").find("option[value='0']").remove(); } @@ -619,7 +619,7 @@ $(document).ready (function () { $("select[name='module[]']").append($("").val(id).html(name)); } else { - alert(''); + alert(""); } $("#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(''); + alert(""); return false; } $('#module option').map(function() { diff --git a/pandora_console/godmode/agentes/planned_downtime.editor.php b/pandora_console/godmode/agentes/planned_downtime.editor.php index bc5ac2a09c..c8c8748178 100644 --- a/pandora_console/godmode/agentes/planned_downtime.editor.php +++ b/pandora_console/godmode/agentes/planned_downtime.editor.php @@ -1038,7 +1038,7 @@ ui_require_jquery_file('ui.datepicker-'.get_user_language(), 'include/javascript } function show_executing_alert () { - alert(''); + alert(""); } 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(''); + alert(""); } else { action_in_progress = true; diff --git a/pandora_console/godmode/gis_maps/configure_gis_map.php b/pandora_console/godmode/gis_maps/configure_gis_map.php index 9e52ddeae9..bbe0b48089 100644 --- a/pandora_console/godmode/gis_maps/configure_gis_map.php +++ b/pandora_console/godmode/gis_maps/configure_gis_map.php @@ -357,7 +357,7 @@ function addConnectionMap() { for (var index in connectionMaps) { if (isInt(index)) { if (connectionMaps[index] == idConnectionMap) { - alert(' "' + connectionMapName + '" '); + alert(" "' + connectionMapName + '" "); return; } diff --git a/pandora_console/godmode/reporting/graph_builder.graph_editor.php b/pandora_console/godmode/reporting/graph_builder.graph_editor.php index 5626c51dab..a03a67737f 100644 --- a/pandora_console/godmode/reporting/graph_builder.graph_editor.php +++ b/pandora_console/godmode/reporting/graph_builder.graph_editor.php @@ -391,7 +391,7 @@ $(document).ready (function () { }); if($('#module')[0].childElementCount == 1 && ($('#module')[0].value == "" || $('#module')[0].value == "0")) { - alert(''); + alert(""); return false; } }); diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 85b5ee128d..75f2f5e1ae 100755 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -3109,7 +3109,7 @@ function addSLARow() { }); } else { - alert(''); + alert(""); } } diff --git a/pandora_console/godmode/servers/plugin.php b/pandora_console/godmode/servers/plugin.php index 645815e6c0..e205203f9d 100644 --- a/pandora_console/godmode/servers/plugin.php +++ b/pandora_console/godmode/servers/plugin.php @@ -1189,13 +1189,13 @@ ui_require_javascript_file('pandora_modules'); } } else { - alert(''); + alert(""); } } } var macros_click_locked_event = function (event) { - alert(''); + alert(""); } if (locked) { diff --git a/pandora_console/operation/gis_maps/gis_map.php b/pandora_console/operation/gis_maps/gis_map.php index 3d5b2d4396..b89952fe78 100644 --- a/pandora_console/operation/gis_maps/gis_map.php +++ b/pandora_console/operation/gis_maps/gis_map.php @@ -226,7 +226,7 @@ unset($table); url: "ajax.php", success: function (data) { if (data.correct == 0) { - alert(''); + alert(""); } } });