mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
* WIP on customization of .config blocks
* getThemeArt() updated with new fallback mechanism (theme -> default theme -> art generic)
This commit is contained in:
parent
78f6915577
commit
a3e37293f4
7 changed files with 126 additions and 46 deletions
|
@ -462,7 +462,8 @@ ViewController.prototype.loadFromPromptConfig = function(options, cb) {
|
|||
name : promptName,
|
||||
type : "prompts",
|
||||
client : self.client,
|
||||
configMci : promptConfig.mci,
|
||||
mci : promptConfig.mci,
|
||||
config : promptConfig.config,
|
||||
});
|
||||
}
|
||||
callback(null);
|
||||
|
@ -574,11 +575,14 @@ ViewController.prototype.loadFromMenuConfig = function(options, cb) {
|
|||
//if(_.isObject(formConfig)) {
|
||||
formConfig = formConfig || {}
|
||||
|
||||
console.log(formConfig)
|
||||
|
||||
menuUtil.applyThemeCustomization({
|
||||
name : self.client.currentMenuModule.menuName,
|
||||
type : 'menus',
|
||||
client : self.client,
|
||||
configMci : formConfig.mci,
|
||||
mci : formConfig.mci,
|
||||
config : formConfig.config,
|
||||
formId : formIdKey,
|
||||
});
|
||||
//}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue