diff --git a/modules/menu/menu.admin.view.php b/modules/menu/menu.admin.view.php index af2e99d92..54c546b59 100644 --- a/modules/menu/menu.admin.view.php +++ b/modules/menu/menu.admin.view.php @@ -12,7 +12,6 @@ **/ function init() { $this->setTemplatePath($this->module_path.'tpl'); - Context::addJsFile('./common/js/tree_menu.js'); } /** diff --git a/modules/menu/tpl/header.html b/modules/menu/tpl/header.html index cf4c5f708..2c234c6b2 100644 --- a/modules/menu/tpl/header.html +++ b/modules/menu/tpl/header.html @@ -1,5 +1,3 @@ - -

{$lang->menu_management}

{nl2br($lang->about_menu)}
diff --git a/modules/menu/tpl/menu_management.html b/modules/menu/tpl/menu_management.html index eae4048c4..7a508e2d2 100644 --- a/modules/menu/tpl/menu_management.html +++ b/modules/menu/tpl/menu_management.html @@ -1,10 +1,10 @@ - - - - + + + + - - + + @@ -88,7 +88,9 @@ var simpleTreeCollection; var max_menu_depth = 999; var xml_url = "{$menu_info->xml_file}"; var lang_confirm_delete = "{$lang->confirm_delete}"; -doMoveMenuInfo(); -Tree(xml_url); +jQuery(function(){ + doMoveMenuInfo(); + Tree(xml_url); +}); //]]>