From: Chip Black Date: Tue, 7 Aug 2012 07:33:14 +0000 (-0700) Subject: Clear password fields after changing password X-Git-Tag: v1.7~2^2~5 X-Git-Url: http://git.bytex64.net/?a=commitdiff_plain;ds=sidebyside;h=bca1fb6891708dc6cd3c544935588381069ccb62;hp=c8ad4bb20cb1e10d5ac906ce1928357d1e4b3180;p=blerg.git Clear password fields after changing password --- diff --git a/www/jssrc/blerg/PasswdDialog.js b/www/jssrc/blerg/PasswdDialog.js index fc8dde2..449ef37 100644 --- 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();