correccion menor condiciones

parent fdca2f7e
...@@ -126,10 +126,10 @@ ...@@ -126,10 +126,10 @@
function openEditarDatosUsuario(event, id){ function openEditarDatosUsuario(event, id){
event.preventDefault(); event.preventDefault();
//Seteo de los datos del usuario en modal desplegado //Seteo de los datos del usuario en modal desplegado
$("#correoUsuario").val($("#emailTabla").val()); $("#correoUsuario").val($("#emailTabla").attr("data-value"));
$("#correoUsuario").html($("#emailTabla").val()); $("#correoUsuario").html($("#emailTabla").attr("data-value"));
$("#telefonoUsuario").val($("#movilTabla").val()); $("#telefonoUsuario").val($("#movilTabla").attr("data-value"));
$("#telefonoUsuario").html($("#movilTabla").val()); $("#telefonoUsuario").html($("#movilTabla").attr("data-value"));
$("#idUsuario").val(id); $("#idUsuario").val(id);
$("#modalEdicionUsuarios").modal({ $("#modalEdicionUsuarios").modal({
...@@ -175,8 +175,8 @@ ...@@ -175,8 +175,8 @@
$("#message-container-edicion").hide(); $("#message-container-edicion").hide();
$("#message-container-edicion-success").show(); $("#message-container-edicion-success").show();
successMessage("El usuario ha sido editado correctamente", "#message-container-edicion-success"); successMessage("El usuario ha sido editado correctamente", "#message-container-edicion-success");
$("#emailTabla").val($("#correoUsuario").val()); $("#emailTabla").attr("data-value",$("#correoUsuario").val());
$("#movilTabla").val($("#telefonoUsuario").val()); $("#movilTabla").attr("data-value",$("#telefonoUsuario").val());
$("#emailTabla").html($("#correoUsuario").val()); $("#emailTabla").html($("#correoUsuario").val());
$("#movilTabla").html($("#telefonoUsuario").val()); $("#movilTabla").html($("#telefonoUsuario").val());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment