correccion menor condiciones

parent fdca2f7e
......@@ -126,10 +126,10 @@
function openEditarDatosUsuario(event, id){
event.preventDefault();
//Seteo de los datos del usuario en modal desplegado
$("#correoUsuario").val($("#emailTabla").val());
$("#correoUsuario").html($("#emailTabla").val());
$("#telefonoUsuario").val($("#movilTabla").val());
$("#telefonoUsuario").html($("#movilTabla").val());
$("#correoUsuario").val($("#emailTabla").attr("data-value"));
$("#correoUsuario").html($("#emailTabla").attr("data-value"));
$("#telefonoUsuario").val($("#movilTabla").attr("data-value"));
$("#telefonoUsuario").html($("#movilTabla").attr("data-value"));
$("#idUsuario").val(id);
$("#modalEdicionUsuarios").modal({
......@@ -175,8 +175,8 @@
$("#message-container-edicion").hide();
$("#message-container-edicion-success").show();
successMessage("El usuario ha sido editado correctamente", "#message-container-edicion-success");
$("#emailTabla").val($("#correoUsuario").val());
$("#movilTabla").val($("#telefonoUsuario").val());
$("#emailTabla").attr("data-value",$("#correoUsuario").val());
$("#movilTabla").attr("data-value",$("#telefonoUsuario").val());
$("#emailTabla").html($("#correoUsuario").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