diff --git a/module/common/model.php b/module/common/model.php index afc59e8e5a..40ac0f3830 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -426,7 +426,7 @@ class commonModel extends model if(commonModel::hasPriv($module, $method)) { $link = helper::createLink($module, $method, $vars); - echo "
  • $menuLabel
  • \n"; + echo "
  • $menuLabel
  • \n"; } } echo "\n"; diff --git a/www/js/my.full.js b/www/js/my.full.js index 96662fc7f1..f59c3626db 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -1751,6 +1751,18 @@ function initHelpLink() }); } +/** + * Init main menu + * @access public + * @return void + */ +function initMainMenu() +{ + var $menu = $('#mainmenu > .nav'); + $menu.sortable(); + +} + /* Ping the server every some minutes to keep the session. */ needPing = true; @@ -1804,4 +1816,5 @@ $(document).ready(function() initHotKey(); initHelpLink(); + initMainMenu(); });