mirror of https://github.com/keeweb/keeweb.git
fix #467: don't remove spaces in custom fields
This commit is contained in:
parent
78fed18d75
commit
42bea50907
|
@ -37,9 +37,10 @@ const FieldViewCustom = FieldViewText.extend({
|
|||
delete this.input;
|
||||
this.stopListening(Backbone, 'click', this.fieldValueBlur);
|
||||
if (typeof newVal === 'string') {
|
||||
newVal = $.trim(newVal);
|
||||
if (this.isProtected) {
|
||||
newVal = kdbxweb.ProtectedValue.fromString(newVal);
|
||||
} else {
|
||||
newVal = $.trim(newVal);
|
||||
}
|
||||
}
|
||||
FieldView.prototype.endEdit.call(this, newVal, extra);
|
||||
|
|
|
@ -11,6 +11,7 @@ Release notes
|
|||
`*` show usernames in entry list
|
||||
`*` password can be hidden as other fields
|
||||
`*` clear clipboard on exit
|
||||
`*` don't remove spaces in custom fields
|
||||
|
||||
##### v1.5.6 (2017-08-31)
|
||||
`-` fix #722: hang on start in desktop
|
||||
|
|
Loading…
Reference in New Issue