diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index a8a2beb..c1ec390 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -307,7 +307,7 @@
-
+
1601453886631
diff --git a/src/main/resources/static/js/datatransfer.js b/src/main/resources/static/js/datatransfer.js
index c2f18bf..bf6a546 100644
--- a/src/main/resources/static/js/datatransfer.js
+++ b/src/main/resources/static/js/datatransfer.js
@@ -131,6 +131,7 @@ function sleep(ms) {
}
function saveChanges(){
+ convertTableToJson();
generateJson();
}
@@ -147,3 +148,25 @@ function generateJson(){
};
document.write(JSON.stringify(newJson, null, 2));
}
+
+// $("table tr").eq(row).find("td").eq(i%2).append("
");
+
+function convertTableToJson(){
+ var table = $('#headerTable');
+ console.log("Length of header table: " + table.length);
+ console.log("Length of children of header table: " + table.children().length);
+ var hKey = new Array(table.children().length);
+ var hVal = new Array(table.children().length);
+ if(table.children().length == 0) return;
+ for(let i=1; i