mirror of
https://github.com/flarum/core.git
synced 2025-10-14 08:24:28 +02:00
Convert EditCustomCssModal into a SettingsModal
This commit is contained in:
@@ -68,8 +68,12 @@ export default class SettingsModal extends Modal {
|
||||
this.loading = true;
|
||||
|
||||
saveSettings(this.dirty()).then(
|
||||
this.hide.bind(this),
|
||||
this.onsaved.bind(this),
|
||||
this.loaded.bind(this)
|
||||
);
|
||||
}
|
||||
|
||||
onsaved() {
|
||||
this.hide();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user