Fixes sorting footer menu items
authorMatthias Schmidt <gravatronics@live.com>
Sun, 2 Jun 2013 09:45:28 +0000 (11:45 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 2 Jun 2013 09:45:28 +0000 (11:45 +0200)
wcfsetup/install/files/acp/templates/pageMenuItemList.tpl
wcfsetup/install/files/js/WCF.js

index 7231738c62bd2cc36616493559ca308490fb3115..c33f0d9d87b955f2710c5b9a76e549ef1338d1ef 100644 (file)
@@ -94,7 +94,7 @@
                <legend>{lang}wcf.acp.pageMenu.footer{/lang}</legend>
                
                <div id="pageMenuItemFooterList" class="container containerPadding sortableListContainer">
-                       <ol class="sortableList simpleSortableList">
+                       <ol class="sortableList simpleSortableList" data-object-id="0">
                                {content}
                                        {foreach from=$footerItems item=menuItem}
                                                <li class="sortableNode" data-object-id="{@$menuItem->menuItemID}">
index ed8265acca680928e14ea717a8c2a4bcf4563149..7acff8e07dd029d4a77d60c301fd3be7cc10c6fc 100755 (executable)
@@ -6809,10 +6809,10 @@ WCF.Sortable.List = Class.extend({
                
                // send request
                var $parameters = $.extend(true, {
-                               data: {
-                                       offset: this._offset,
-                                       structure: this._structure
-                               }
+                       data: {
+                               offset: this._offset,
+                               structure: this._structure
+                       }
                }, this._additionalParameters);
                
                this._proxy.setOption('data', {