* Use more standard code paths & emit index events in ToggleMenuView
* Fix fetching areas & internal message attach area name * Use proper config in new MenuModule methods * More good progress on uploading
This commit is contained in:
@@ -340,7 +340,7 @@ MenuModule.prototype.displayAsset = function(name, options, cb) {
|
||||
return theme.displayThemedAsset(
|
||||
name,
|
||||
this.client,
|
||||
Object.merge( { font : this.menuConfig.config }, options ),
|
||||
Object.assign( { font : this.menuConfig.config.font }, options ),
|
||||
(err, artData) => {
|
||||
if(cb) {
|
||||
return cb(err, artData);
|
||||
@@ -376,7 +376,7 @@ MenuModule.prototype.prepViewController = function(name, formId, artData, cb) {
|
||||
|
||||
MenuModule.prototype.prepViewControllerWithArt = function(name, formId, options, cb) {
|
||||
this.displayAsset(
|
||||
name,
|
||||
this.menuConfig.config.art[name],
|
||||
options,
|
||||
(err, artData) => {
|
||||
if(err) {
|
||||
|
||||
Reference in New Issue
Block a user