summaryrefslogtreecommitdiffstats
path: root/settings/js/personal.js
diff options
context:
space:
mode:
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){