bug fix: context in menu

pull/10/head
Steve Nyemba 3 months ago
parent 2df876e9a8
commit 54010cbbf3

@ -234,10 +234,11 @@ var QCMSBasic= function(_layout,_context,_clickEvent) {
} }
this.init = function (){ this.init = function (){
var _me = this ;
var _make = this._make var _make = this._make
var _layout = this._layout var _layout = this._layout
Object.keys(this._layout.menu).forEach(function(_name){ Object.keys(this._layout.menu).forEach(function(_name){
var _div = _make(_layout.menu[_name]) ; var _div = me._make(_layout.menu[_name]) ;
var _sub = jx.dom.get.instance('DIV') var _sub = jx.dom.get.instance('DIV')

Loading…
Cancel
Save