1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-14 07:59:02 +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

File diff suppressed because one or more lines are too long

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);
},
//=========================================================================

View File

@ -93,7 +93,6 @@ refer to http://www.clipperz.com.
// width: 100%;
// box-sizing:border-box;
// Is it too ugly? --Dario
width: $selectionPanelWidth - $iconColumnWidth;
@include placeholder {