commit:bca1fb6891708dc6cd3c544935588381069ccb62
author:Chip Black
committer:Chip Black
date:Tue Aug 7 00:33:14 2012 -0700
parents:c8ad4bb20cb1e10d5ac906ce1928357d1e4b3180
Clear password fields after changing password
diff --git a/www/jssrc/blerg/PasswdDialog.js b/www/jssrc/blerg/PasswdDialog.js
line changes: +3/-0
index fc8dde2..449ef37
--- a/www/jssrc/blerg/PasswdDialog.js
+++ b/www/jssrc/blerg/PasswdDialog.js
@@ -53,6 +53,9 @@ enyo.kind({
         this.hide();
     },
     passwordChangeSuccessful: function(inSender, inEvent) {
+        this.$.oldpassword.setValue('');
+        this.$.password1.setValue('');
+        this.$.password2.setValue('');
         this.$.changeButton.setDisabled(false);
         this.$.spinner.hide();
         this.$.spinner.stop();