Merge pull request #106 from pschiffe/fix-ie11

Fixed problem with BulkEditingTools and Tabs in IE
This commit is contained in:
Thierry François 2015-09-01 12:29:40 +03:00
commit 4513f63ed3
1 changed files with 3 additions and 5 deletions

View File

@ -14,7 +14,6 @@
targets = ['.filter-header', '.sortable-header'], targets = ['.filter-header', '.sortable-header'],
$target = $parent.find(targets.join(',')), $target = $parent.find(targets.join(',')),
$component = this.clone(),
index = $tr.index(this), index = $tr.index(this),
newIndex = $tr.length - 1 newIndex = $tr.length - 1
; ;
@ -29,9 +28,8 @@
if ( index > newIndex ) if ( index > newIndex )
{ {
$component.insertBefore($tr.eq(newIndex)); $tr.eq(newIndex).insertAfter($(this));
this.remove(); }
}
}, },
onunmatch: function(){} onunmatch: function(){}
}); });
@ -244,4 +242,4 @@
}); });
}); });
}(jQuery)); }(jQuery));