1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-29 10:27:35 +01:00

Fixed empty field bug on change passphrase

This commit is contained in:
Dario Chiappetta
2015-04-03 19:03:07 +02:00
parent f438ee9eab
commit 6377fab657
3 changed files with 3 additions and 4 deletions

View File

@@ -64,10 +64,10 @@ Clipperz.PM.UI.Components.ExtraFeatures.PassphraseClass = React.createClass({
handleChangePassphrase: function(event) {
event.preventDefault();
MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'changePassphrase', this.refs['new-passphrase'].getDOMNode().value);
this.refs['new-passphrase'].getDOMNode().value = '';
this.refs['confirm-new-passphrase'].getDOMNode().value = '';
MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'changePassphrase', this.refs['new-passphrase'].getDOMNode().value);
},
//=========================================================================