mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Merge pull request #106 from pschiffe/fix-ie11
Fixed problem with BulkEditingTools and Tabs in IE
This commit is contained in:
commit
4513f63ed3
@ -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,8 +28,7 @@
|
|||||||
|
|
||||||
if ( index > newIndex )
|
if ( index > newIndex )
|
||||||
{
|
{
|
||||||
$component.insertBefore($tr.eq(newIndex));
|
$tr.eq(newIndex).insertAfter($(this));
|
||||||
this.remove();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onunmatch: function(){}
|
onunmatch: function(){}
|
||||||
|
Loading…
Reference in New Issue
Block a user