summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorDavid Reagan <reagand@lanecc.edu>2013-04-16 13:22:04 -0700
committerDavid Reagan <reagand@lanecc.edu>2013-04-16 13:22:04 -0700
commit0dd6f16e0b57da5239992ceacd90a9c9d01bc9e8 (patch)
tree38343cba56f96ec51fcb1a398a50f917cbc46458 /settings
parent6d812ada059525772893d3eb5be9c080635c7120 (diff)
downloadnextcloud-server-0dd6f16e0b57da5239992ceacd90a9c9d01bc9e8.tar.gz
nextcloud-server-0dd6f16e0b57da5239992ceacd90a9c9d01bc9e8.zip
Removed extra id from jquery selectors. Remove console.log call. Removed commented code.
Diffstat (limited to 'settings')
-rw-r--r--settings/js/personal.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 9c960a180a1..7c879bcafe9 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -8,12 +8,10 @@
* Post the email address change to the server.
*/
function changeEmailAddress(){
- emailInfo = $('#lostpassword #email');
- console.log("Timout done.");
+ emailInfo = $('#email');
if (emailInfo.val() === emailInfo.defaultValue){
return;
}
- //event.preventDefault();
emailInfo.defaultValue = emailInfo.val();
OC.msg.startSaving('#lostpassword .msg');
var post = $( "#lostpassword" ).serialize();
@@ -80,7 +78,7 @@ $(document).ready(function(){
});
- $('#lostpassword #email').keyup(function(){
+ $('#email').keyup(function(){
if(typeof timeout !== 'undefined'){
clearTimeout(timeout);
}