mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Editable: limit array columns
related? http://stackoverflow.com/q/24947995/145346
This commit is contained in:
parent
b92952121b
commit
294f377e4f
@ -30,7 +30,9 @@
|
||||
}
|
||||
} else if ($.isArray(wo.editable_columns)) {
|
||||
$.each(wo.editable_columns, function(i, col){
|
||||
cols.push('td:nth-child(' + (col + 1) + ')');
|
||||
if ( col < c.columns ) {
|
||||
cols.push('td:nth-child(' + (col + 1) + ')');
|
||||
}
|
||||
});
|
||||
}
|
||||
// IE does not allow making TR/TH/TD cells directly editable (issue #404)
|
||||
|
Loading…
Reference in New Issue
Block a user