From 54010cbbf3555d85763c6c7292a4fdbc757a079f Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Tue, 3 Sep 2024 17:30:25 -0500 Subject: [PATCH] bug fix: context in menu --- cms/static/js/menu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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')