Fixed empty field bug on change passphrase
This commit is contained in:
parent
f438ee9eab
commit
6377fab657
File diff suppressed because one or more lines are too long
@ -64,10 +64,10 @@ Clipperz.PM.UI.Components.ExtraFeatures.PassphraseClass = React.createClass({
|
|||||||
handleChangePassphrase: function(event) {
|
handleChangePassphrase: function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
|
MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'changePassphrase', this.refs['new-passphrase'].getDOMNode().value);
|
||||||
|
|
||||||
this.refs['new-passphrase'].getDOMNode().value = '';
|
this.refs['new-passphrase'].getDOMNode().value = '';
|
||||||
this.refs['confirm-new-passphrase'].getDOMNode().value = '';
|
this.refs['confirm-new-passphrase'].getDOMNode().value = '';
|
||||||
|
|
||||||
MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'changePassphrase', this.refs['new-passphrase'].getDOMNode().value);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -93,7 +93,6 @@ refer to http://www.clipperz.com.
|
|||||||
// width: 100%;
|
// width: 100%;
|
||||||
// box-sizing:border-box;
|
// box-sizing:border-box;
|
||||||
|
|
||||||
// Is it too ugly? --Dario
|
|
||||||
width: $selectionPanelWidth - $iconColumnWidth;
|
width: $selectionPanelWidth - $iconColumnWidth;
|
||||||
|
|
||||||
@include placeholder {
|
@include placeholder {
|
||||||
|
Loading…
Reference in New Issue
Block a user