mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Replace deprecated Knockout throttle with new debounce extender
Replace admin general mainAttachmentLimit with input type="number"
This commit is contained in:
parent
75b7176ada
commit
8c780ad353
18 changed files with 45 additions and 84 deletions
|
|
@ -55,7 +55,7 @@ export class FilterConditionModel extends AbstractModel {
|
|||
default:
|
||||
return template + 'Default';
|
||||
}
|
||||
}, this);
|
||||
});
|
||||
|
||||
this.addSubscribables({
|
||||
field: () => {
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ export class SieveScriptModel extends AbstractModel
|
|||
});
|
||||
|
||||
this.filters = ko.observableArray();
|
||||
// this.saving = ko.observable(false).extend({ throttle: 200 });
|
||||
// this.saving = ko.observable(false).extend({ debounce: 200 });
|
||||
|
||||
this.addSubscribables({
|
||||
name: () => this.hasChanges(true),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue