* More progress on theming esp. in relation to .config menu module sections
This commit is contained in:
@@ -32,6 +32,8 @@ function MenuModule(options) {
|
||||
this.menuConfig.options.cls :
|
||||
Config.menus.cls;
|
||||
|
||||
this.menuConfig.config = this.menuConfig.config || {};
|
||||
|
||||
this.initViewControllers();
|
||||
|
||||
this.initSequence = function() {
|
||||
@@ -190,6 +192,13 @@ MenuModule.prototype.enter = function(client) {
|
||||
this.client = client;
|
||||
assert(_.isObject(client));
|
||||
|
||||
menuUtil.applyGeneralThemeCustomization( {
|
||||
name : this.menuName,
|
||||
client : this.client,
|
||||
type : 'menus',
|
||||
config : this.menuConfig.config,
|
||||
});
|
||||
|
||||
if(_.isString(this.menuConfig.status)) {
|
||||
this.client.currentStatus = this.menuConfig.status;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user