1
Bug Report / moveItem
« on: May 25, 2019, 11:58:32 am »
>>pqgrid.dev.js#600
moveItem: function(node, data, indxOld, indx) {
if (indxOld > indx) {
data.splice(indxOld, 1);
data.splice(indx++, 0, node)
} else if (indxOld == indx) {
indx++
} else {
# data.splice(indxOld, 1);
# data.splice(indx, 0, node);
}
return indx
},
moveItem: function(node, data, indxOld, indx) {
if (indxOld > indx) {
data.splice(indxOld, 1);
data.splice(indx++, 0, node)
} else if (indxOld == indx) {
indx++
} else {
# data.splice(indxOld, 1);
# data.splice(indx, 0, node);
}
return indx
},