change AbstractFetchRemote with a better structure

This commit is contained in:
djmaze 2021-12-02 23:15:24 +01:00
parent 0d809dd574
commit 792fee547a
26 changed files with 265 additions and 723 deletions

View file

@ -57,7 +57,7 @@ class SieveScriptPopupView extends AbstractViewPopup {
script.body(script.filtersToRaw());
}
Remote.filtersScriptSave(
Remote.request('FiltersScriptSave',
(iError, data) => {
self.saving = false;
@ -70,7 +70,7 @@ class SieveScriptPopupView extends AbstractViewPopup {
script.hasChanges(false);
}
},
script
script.toJson()
);
}