diff --git a/js/functions.js b/js/functions.js index d7902462d..2484bc69c 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1804,11 +1804,9 @@ $(document).ready(function() { */ var new_last_row_id = 'checkbox_tbl_' + new_last_row_index; + data.new_table_string = data.new_table_string.replace(/checkbox_tbl_/, new_last_row_id); //append to table $(data.new_table_string) - .find('input:checkbox') - .val(new_last_row_id) - .end() .appendTo(tables_table); //Sort the table