FIX_TEST_RACK_RATE_PAGE_TABLE_ISSUE
This commit is contained in:
parent
a9a34a26b9
commit
5f41d9f51e
@ -716,18 +716,20 @@
|
||||
function displayData(data)
|
||||
{
|
||||
displayTable(data.new,"restablebody");
|
||||
if(data.old.length())
|
||||
if(data.old.length)
|
||||
{
|
||||
$('#oldrestablebody').prop('display','block');
|
||||
displayTable(data.new,"oldrestablebody");
|
||||
displayTable(data.old,"oldrestablebody");
|
||||
}
|
||||
}
|
||||
function displayTable(data,tableID)
|
||||
{
|
||||
|
||||
var old_data = data.old;
|
||||
var old_data = data.old;
|
||||
const tableBody = document.getElementById(tableID);
|
||||
$(("#".tableID)).empty();
|
||||
// $(("#".tableID)).empty();
|
||||
$("#restable tbody").empty()
|
||||
$('#oldrestable tbody').empty();
|
||||
const existingRowCount = tableBody.rows.length;
|
||||
for(i = 0; i < data.length; i++)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user