* More progress on theming esp. in relation to .config menu module sections

This commit is contained in:
Bryan Ashby
2015-10-09 23:35:40 -06:00
parent a6cd6bd3b9
commit 3038213c09
6 changed files with 94 additions and 44 deletions

View File

@@ -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 {