aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js/personal.js
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-15 22:28:11 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-15 22:28:11 +0200
commit77cefdedb86de65e69f470c8b6a1b03bb001966e (patch)
tree547b3a111c4d07992b7c528f2db4962ee36f91f9 /settings/js/personal.js
parent77a9e343aae4fc19a1e6fbf71b73e171640ac02a (diff)
parent12818093007d5bdce5519b5015e2a0748c98e24d (diff)
downloadnextcloud-server-77cefdedb86de65e69f470c8b6a1b03bb001966e.tar.gz
nextcloud-server-77cefdedb86de65e69f470c8b6a1b03bb001966e.zip
Merge branch 'master' into sabredav_1.6
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r--settings/js/personal.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 8108da433c8..77d103c53b6 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -33,7 +33,11 @@ $(document).ready(function(){
});
$('#lostpassword #email').blur(function(event){
+ if ($(this).val() == this.defaultValue){
+ return;
+ }
event.preventDefault();
+ this.defaultValue = $(this).val();
OC.msg.startSaving('#lostpassword .msg');
var post = $( "#lostpassword" ).serialize();
$.post( 'ajax/lostpassword.php', post, function(data){