desarrollo
Last change
on this file since 19d9683 was
19d9683,
checked in by lhernandez <lhernandez@…>, 7 años ago
|
Se hubico el static en la raiz del proyecto, para tener mejor control de la ruta al igual para el directorio sources, preparado para optimizar la gestion de usuario para la actualizacion de perfil
|
-
Propiedad mode establecida a
100644
|
File size:
560 octetos
|
Línea | |
---|
1 | function perfil_modals(){ |
---|
2 | ruta_user = ruta; |
---|
3 | |
---|
4 | $.ajax({ |
---|
5 | url: ruta_user, |
---|
6 | type: "GET", |
---|
7 | data: { |
---|
8 | }, |
---|
9 | dataType: 'html', |
---|
10 | success: function(data) { |
---|
11 | $('#modal-body').html(data); |
---|
12 | } |
---|
13 | }); |
---|
14 | } |
---|
15 | |
---|
16 | function modal_user(id_user){ |
---|
17 | ruta_user = ruta.split("/")[1] |
---|
18 | ruta_user = "/"+ruta_user + "/" + id_user + "/" |
---|
19 | $.ajax({ |
---|
20 | url: ruta_user, |
---|
21 | type: "GET", |
---|
22 | data: { |
---|
23 | }, |
---|
24 | dataType: 'html', |
---|
25 | success: function(data) { |
---|
26 | $('#modal-body').html(data); |
---|
27 | } |
---|
28 | }); |
---|
29 | |
---|
30 | } |
---|
31 | $("#perfil").click(function(){ |
---|
32 | perfil_modals(); |
---|
33 | }) |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.