diff --git a/pandora_console/godmode/massive/massive_delete_modules.php b/pandora_console/godmode/massive/massive_delete_modules.php index bb656ff0f3..b6a098f07d 100755 --- a/pandora_console/godmode/massive/massive_delete_modules.php +++ b/pandora_console/godmode/massive/massive_delete_modules.php @@ -713,7 +713,7 @@ $(document).ready (function () { function (data, status) { jQuery.each (data, function (id, value) { option = $("") - .attr("value", value["nombre"]) + .attr({value: value["nombre"], title: value["nombre"]}) .html(value["safe_name"]); $("#module_name").append (option); }); diff --git a/pandora_console/godmode/massive/massive_edit_modules.php b/pandora_console/godmode/massive/massive_edit_modules.php index ce3fc67a63..1045e8efa6 100755 --- a/pandora_console/godmode/massive/massive_edit_modules.php +++ b/pandora_console/godmode/massive/massive_edit_modules.php @@ -1397,7 +1397,7 @@ $(document).ready (function () { params, function (data, status) { jQuery.each (data, function (id, value) { - option = $("").attr("value", value["nombre"]).html(value["safe_name"]); + option = $("").attr({value: value["nombre"], title: value["nombre"]}).html(value["safe_name"]); $("#module_name").append (option); }); hideSpinner(); diff --git a/pandora_console/include/javascript/pandora.js b/pandora_console/include/javascript/pandora.js index 5cb2c75580..ad70328117 100644 --- a/pandora_console/include/javascript/pandora.js +++ b/pandora_console/include/javascript/pandora.js @@ -621,7 +621,7 @@ function module_changed_by_multiple_modules(event, id_module, selected) { $("#agents").append( $("") .html(s) - .attr("value", i) + .attr({ value: i, title: s }) ); $("#agents").fadeIn("normal"); });