Skip to content

Commit

Permalink
set startLevel to 1 (#28327)
Browse files Browse the repository at this point in the history
  • Loading branch information
zJaaal authored Apr 23, 2024
1 parent f6601fb commit 239b434
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dotCMS/src/main/webapp/WEB-INF/velocity/VM_global_library.vm
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@

#macro(sortNavigation)
#if ($EDIT_MODE && $PUBLISH_HTMLPAGE_PERMISSION)
#set($menuLevel = $VTLSERVLET_URI.split('/').size() - 1)

<button
onclick="openReorderDialog(event)"
style="
Expand Down Expand Up @@ -228,7 +226,7 @@
function openReorderDialog(event) {
event.preventDefault();
var reorderUrl =
'${directorURL}&startLevel=${menuLevel}&depth=2&pagePath=${VTLSERVLET_URI}&hostId=${host.identifier}';
'${directorURL}&startLevel=1&depth=2&pagePath=${VTLSERVLET_URI}&hostId=${host.identifier}';

window.parent.postMessage(
{
Expand Down

0 comments on commit 239b434

Please sign in to comment.