diff --git a/cms/static/js/menu.js b/cms/static/js/menu.js index 09bca25..2f94a28 100644 --- a/cms/static/js/menu.js +++ b/cms/static/js/menu.js @@ -234,10 +234,11 @@ var QCMSBasic= function(_layout,_context,_clickEvent) { } this.init = function (){ + var _me = this ; var _make = this._make var _layout = this._layout 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')