aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-09-26 21:10:56 +0200
committerBart Visscher <bartv@thisnet.nl>2011-09-26 21:17:26 +0200
commitf14930389505eda61ec4cbcdf59a54e63513802b (patch)
treed7ed274e9e95963682b13760b857e6575911b901 /settings/js
parent950d4e1da498b7c928b5f6e1cbcca8e57ddecb0c (diff)
downloadnextcloud-server-f14930389505eda61ec4cbcdf59a54e63513802b.tar.gz
nextcloud-server-f14930389505eda61ec4cbcdf59a54e63513802b.zip
Add email field to personal preferences
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/personal.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 9578fb2c890..8108da433c8 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -32,6 +32,15 @@ $(document).ready(function(){
});
+ $('#lostpassword #email').blur(function(event){
+ event.preventDefault();
+ OC.msg.startSaving('#lostpassword .msg');
+ var post = $( "#lostpassword" ).serialize();
+ $.post( 'ajax/lostpassword.php', post, function(data){
+ OC.msg.finishedSaving('#lostpassword .msg', data);
+ });
+ });
+
$("#languageinput").chosen();
$("#languageinput").change( function(){