Permalink
Browse files

that's why it's bad to code, drunk. (forget what I just said, I'm cle…

…arly oll right)
  • Loading branch information...
1 parent 227634e commit a48cc869b438dd4318930a7cf4d713cdee050892 Informpro committed Jun 2, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 templates/common/cms/cms_menu_block_list_body.tpl
View
8 templates/common/cms/cms_menu_block_list_body.tpl
@@ -86,10 +86,6 @@ var sort_info_box = $('sort-info-box'),
page_url += 'cms_db_update.';
page_url += php_ext;
-
-<!-- BEGIN cat_row -->
-lists[{cat_row.CAT_CB_ID}] = $('#list_{cat_row.CAT_CB_ID}');
-
function update_order(cat)
{
var request_options = 'mode=update_menu_order&cat=';
@@ -100,6 +96,10 @@ function update_order(cat)
request_options += S_SID;
$.post(page_url, request_options);
}
+
+<!-- BEGIN cat_row -->
+lists[{cat_row.CAT_CB_ID}] = $('#list_{cat_row.CAT_CB_ID}');
+
lists[{cat_row.CAT_CB_ID}].sortable(
{
update: function()

0 comments on commit a48cc86

Please sign in to comment.