vendor/assets/javascripts/base/_table.js in active_frontend-16.0.18 vs vendor/assets/javascripts/base/_table.js in active_frontend-16.0.19

- old
+ new

@@ -143,9 +143,13 @@ for (i = 0; i < clonedTr.length; i++) { var currentRow = clonedTable.find('tbody tr:eq(' + i + ')'); var key = currentRow.children('td:eq(' + sudoColIndex + ')').html(); + if (key.indexOf('$') === 0 || key.indexOf('#') === 0) { + key = key.replace(/\D/g,''); + } + if ($.isNumeric(key)) { var trailing_i; trailing_i = (i + 1) / (clonedTr.length + 1); trailing_i = trailing_i.toString();