vendor/assets/javascripts/base/_table.js in active_frontend-16.0.23 vs vendor/assets/javascripts/base/_table.js in active_frontend-16.0.24
- old
+ new
@@ -141,10 +141,10 @@
var clonedRowsMap = {};
var i = 0;
for (i = 0; i < clonedTr.length; i++) {
var currentRow = clonedTable.find('tbody tr:eq(' + i + ')');
- var key = currentRow.children('td:eq(' + sudoColIndex + ')').html();
+ var key = currentRow.children('td:eq(' + sudoColIndex + ')').html().trim();
if (key.indexOf('$') === 0 || key.indexOf('#') === 0) {
key = key.replace(/\D/g,'');
}