show agent and module name tip

This commit is contained in:
alejandro.campos@artica.es 2022-01-31 13:18:26 +01:00
parent d210390a3d
commit b9c78bbfb1
3 changed files with 3 additions and 3 deletions

View File

@ -713,7 +713,7 @@ $(document).ready (function () {
function (data, status) {
jQuery.each (data, function (id, value) {
option = $("<option></option>")
.attr("value", value["nombre"])
.attr({value: value["nombre"], title: value["nombre"]})
.html(value["safe_name"]);
$("#module_name").append (option);
});

View File

@ -1397,7 +1397,7 @@ $(document).ready (function () {
params,
function (data, status) {
jQuery.each (data, function (id, value) {
option = $("<option></option>").attr("value", value["nombre"]).html(value["safe_name"]);
option = $("<option></option>").attr({value: value["nombre"], title: value["nombre"]}).html(value["safe_name"]);
$("#module_name").append (option);
});
hideSpinner();

View File

@ -621,7 +621,7 @@ function module_changed_by_multiple_modules(event, id_module, selected) {
$("#agents").append(
$("<option></option>")
.html(s)
.attr("value", i)
.attr({ value: i, title: s })
);
$("#agents").fadeIn("normal");
});