Commit b9ebeee6 by Tim Krones

Empty result table before adding new results.

parent 777a9a4c
...@@ -89,6 +89,8 @@ function StudentAnswersDashboardBlock(runtime, element) { ...@@ -89,6 +89,8 @@ function StudentAnswersDashboardBlock(runtime, element) {
// Display results // Display results
var $resultTable = $('.data-export-results table tbody'); var $resultTable = $('.data-export-results table tbody');
$resultTable.empty();
_.each(status.last_export_result.display_data, function(row) { _.each(status.last_export_result.display_data, function(row) {
var tr = $('<tr>'); var tr = $('<tr>');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment