Revert " * update zui.sortable.js."

This reverts commit 875533c100.
This commit is contained in:
Catouse
2015-05-08 14:37:15 +08:00
parent 875533c100
commit 091ad90cd3
5 changed files with 48 additions and 24 deletions
-6
View File
@@ -26,12 +26,6 @@ $(document).ready(function()
trigger: $tbody.find('.sort-handler').length ? '.sort-handler' : null,
finish: function(e)
{
var orders = {};
e.list.each(function(){
var $this = $(this);
orders[$this.data('id')] = parseInt($this.attr('data-order'));
});
e.orders = orders;
$tbody.trigger('sort.sortable', e);
var $thead = $tbody.closest('table').children('thead');
$thead.find('.headerSortDown, .headerSortUp').removeClass('headerSortDown headerSortUp').addClass('header');