1
0
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:
Toby Zerner
2016-06-03 14:51:51 +09:30
parent 27556fea38
commit 786c2fcfa5
2 changed files with 15 additions and 37 deletions

View File

@@ -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();
}
}