You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made a few hacks to my old v2 sortable.js and just found this v2e3 (thanks for the great work).
The hacks needed to re-do are:
line 85:
guessType: function(table, column, sortle) {
// ADD WM 2014-07-28 - if there are no rows in the tbody then return..
if (!table.tBodies[0]) {
return;
}
line 164:
getInnerText: function(node) {
...
// wm 20170520 - ignore Comment nodes - we can tell them as they have a nodeType==8..
if (!node || node.nodeType == 8) {
return '';
}
I can't remember why I needed to ignore nodeType==8 but checking for no node was rather important (I think with rows with no where expected, colspan=2 etc..)
The text was updated successfully, but these errors were encountered:
I have made a few hacks to my old v2 sortable.js and just found this v2e3 (thanks for the great work).
The hacks needed to re-do are:
line 85:
line 164:
I can't remember why I needed to ignore nodeType==8 but checking for no node was rather important (I think with rows with no where expected, colspan=2 etc..)
The text was updated successfully, but these errors were encountered: