Disable ordering on .add-row.
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user