diff --git a/data/interfaces/default/js/tables/export_table.js b/data/interfaces/default/js/tables/export_table.js
index 9121f149..9260b1b3 100644
--- a/data/interfaces/default/js/tables/export_table.js
+++ b/data/interfaces/default/js/tables/export_table.js
@@ -90,12 +90,12 @@ export_table_options = {
"targets": [5],
"data": "complete",
"createdCell": function (td, cellData, rowData, row, col) {
- if (cellData === 0 ) {
- $(td).html('');
+ if (cellData === 0) {
+ $(td).html('');
} else if (cellData === 1 && rowData['exists']) {
- $(td).html('');
+ $(td).html('');
} else {
- $(td).html('');
+ $(td).html('');
}
},
"width": "8%",
@@ -105,7 +105,9 @@ export_table_options = {
"targets": [6],
"data": null,
"createdCell": function (td, cellData, rowData, row, col) {
- $(td).html('');
+ var disabled = '';
+ if (!rowData['complete']) { disabled = 'disabled'; }
+ $(td).html('');
},
"width": "8%",
"className": "export_delete"