aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/templates/modals_js.mako
diff options
context:
space:
mode:
authortr4ck3ur <tr4ck3ur@style-python.fr>2015-02-15 18:10:48 +0100
committertr4ck3ur <tr4ck3ur@style-python.fr>2015-02-15 18:10:48 +0100
commita9318f7fd31eed8fa14d08a92277ba795efbb36c (patch)
treee7d4c1a2190b1b5eb77783141831a7198c140085 /jm2l/templates/modals_js.mako
parent6f97a3895e862c3ba4d71a7da409b9d20c50336c (diff)
downloadjm2l-a9318f7fd31eed8fa14d08a92277ba795efbb36c.tar.gz
jm2l-a9318f7fd31eed8fa14d08a92277ba795efbb36c.tar.bz2
jm2l-a9318f7fd31eed8fa14d08a92277ba795efbb36c.tar.xz
jm2l-a9318f7fd31eed8fa14d08a92277ba795efbb36c.zip
Corrigé les images
Ajouté la gestion de password Corrigé le slug des users à la création
Diffstat (limited to 'jm2l/templates/modals_js.mako')
-rw-r--r--jm2l/templates/modals_js.mako11
1 files changed, 11 insertions, 0 deletions
diff --git a/jm2l/templates/modals_js.mako b/jm2l/templates/modals_js.mako
index 6afb826..9e1395d 100644
--- a/jm2l/templates/modals_js.mako
+++ b/jm2l/templates/modals_js.mako
@@ -63,4 +63,15 @@ $.ajax({
alert(error);
},
});
+% elif modtype=='UserPicture':
+$.ajax({
+ url:'/user_picture',
+ success:function(result, status, jqXHR){
+ var pictureresult = $('<div />').append(result).find('#MyPictureCarousel').html();
+ $('#MyPictureCarousel').html(pictureresult);
+ },
+ error:function(result, error){
+ alert(error);
+ },
+});
% endif