diff --git a/app/assets/javascripts/experiments/table.js b/app/assets/javascripts/experiments/table.js index 8a9aa9c5c..20c61f367 100644 --- a/app/assets/javascripts/experiments/table.js +++ b/app/assets/javascripts/experiments/table.js @@ -43,7 +43,7 @@ var ExperimnetTable = { return `${data.count}`; }, status: function(data) { - return `
${data.name}
`; }, assigned: function(data) { @@ -620,9 +620,11 @@ var ExperimnetTable = { $.get(dataUrl, tableParams, (result) => { $(this.table).find('.table-row-placeholder, .table-row-placeholder-divider').remove(); - this.appendRows(result.data); - this.initDueDatePicker(result.data); - this.handleNoResults(); + setTimeout(() => { + this.appendRows(result.data); + this.initDueDatePicker(result.data); + this.handleNoResults(); + }, 100); InfiniteScroll.init(this.table, { url: dataUrl, @@ -632,9 +634,11 @@ var ExperimnetTable = { pageSize: this.pageSize, lastPage: !result.next_page, customResponse: (response) => { - this.appendRows(response.data); - this.initDueDatePicker(response.data); - this.initProvisioningStatusPolling(); + setTimeout(() => { + this.appendRows(response.data); + this.initDueDatePicker(response.data); + this.initProvisioningStatusPolling(); + }, 100); }, customParams: (params) => { return { ...params, ...tableParams };