Disable ordering on .add-row.
parent
5ef23ebca7
commit
d6efa21939
|
|
@ -1,4 +1,3 @@
|
||||||
.tabular .sortable
|
.tabular .sortable:not(.add-row) {
|
||||||
{
|
|
||||||
cursor: move;
|
cursor: move;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ jQuery(function($){
|
||||||
axis : 'y',
|
axis : 'y',
|
||||||
containment : 'parent',
|
containment : 'parent',
|
||||||
tolerance : 'pointer',
|
tolerance : 'pointer',
|
||||||
items : 'tr',
|
items : 'tr:not(.add-row)',
|
||||||
stop : function(event, ui)
|
stop : function(event, ui)
|
||||||
{
|
{
|
||||||
var indexes = Array();
|
var indexes = Array();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue