Disable ordering on .add-row.

master
Ionel Maries Cristian 2012-11-18 15:56:01 +02:00
parent 5ef23ebca7
commit d6efa21939
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
.tabular .sortable .tabular .sortable:not(.add-row) {
{
cursor: move; cursor: move;
} }

View File

@ -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();