mirror of https://github.com/keeweb/keeweb.git
bugfixes
This commit is contained in:
parent
2f07c87801
commit
9a19339ec5
|
@ -196,6 +196,10 @@ class Collection {
|
|||
}
|
||||
}
|
||||
|
||||
sort() {
|
||||
this[SymbolArray].sort(this.comparator);
|
||||
}
|
||||
|
||||
fill() {
|
||||
throw new Error('Not implemented');
|
||||
}
|
||||
|
@ -231,7 +235,6 @@ const ProxiedArrayMethods = [
|
|||
'reverse',
|
||||
'slice',
|
||||
'some',
|
||||
'sort',
|
||||
'values'
|
||||
];
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ class FieldViewAutocomplete extends FieldViewText {
|
|||
this.input.val(selectedItem);
|
||||
this.endEdit(selectedItem);
|
||||
} else {
|
||||
this.afterPaint(function() {
|
||||
this.afterPaint(() => {
|
||||
this.input.focus();
|
||||
});
|
||||
}
|
||||
|
|
|
@ -102,7 +102,7 @@ class FieldViewTags extends FieldViewText {
|
|||
this.input.focus();
|
||||
this.setTags();
|
||||
}
|
||||
this.afterPaint(function() {
|
||||
this.afterPaint(() => {
|
||||
this.input.focus();
|
||||
});
|
||||
}
|
||||
|
|
|
@ -622,9 +622,9 @@ class OpenView extends View {
|
|||
this.inputEl.attr('disabled', 'disabled');
|
||||
this.busy = true;
|
||||
this.params.password = this.passwordInput.value;
|
||||
this.afterPaint(
|
||||
this.model.openFile.bind(this.model, this.params, this.openDbComplete.bind(this))
|
||||
);
|
||||
this.afterPaint(() => {
|
||||
this.model.openFile(this.params, err => this.openDbComplete(err));
|
||||
});
|
||||
}
|
||||
|
||||
openDbComplete(err) {
|
||||
|
|
Loading…
Reference in New Issue