Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Figure 1: Example of Collapsing Category
In order to disable this behavior, you can implement the code below in the UI Builder > Settings > Configure DX-X Admin > Advanced > Custom Javascript.
layui.use(["layer", "element", "jquery"], function () { $(".left-nav #nav").off("click"); $(".left-nav #nav").on("click", "li", function (event) { $(".left-nav").find("a").removeClass("active"); $(this).children("a").addClass("active"); if ($(this).children(".sub-menu").length) { if ($(this).hasClass("open")) { $(this).removeClass("open"); $(this).find(".nav_right").html(""); $(this).children(".sub-menu").stop(true, true).slideUp(); } else { $(this).addClass("open"); $(this).children("a").find(".nav_right").html(""); $(this).children(".sub-menu").stop(true, true).slideDown(); } } }); });
Figure 2: Implementation
Figure 3: After Implementation