diff --git a/index.html b/index.html
index 27c9c4a..ec100c6 100644
--- a/index.html
+++ b/index.html
@@ -9976,7 +9976,6 @@ Bitcoin.Util = {
diff: findDifference(JSON.parse(this.util.lastCommit[objectName]), floGlobals
.appObjects[objectName])
}
- debugger;
this.sendApplicationData(message, `${objectName}@Update`, options).then(result => {
this.util.lastCommit[objectName] = JSON.stringify(floGlobals.appObjects[
objectName])
@@ -10722,8 +10721,50 @@ Bitcoin.Util = {
await this.retrieveLatestContent();
},
+ addSections: async function (sections) {
+ showMessage(`Adding sections...`);
+
+ let number_of_sections, section_names = [];
+
+ if(Array.isArray(sections)){
+ number_of_sections = sections.length;
+ section_names = sections
+ } else if(typeof sections == 'number'){
+ number_of_sections = sections
+ for(let k=0; k current.y) ? prev : current
});
- debugger;
let oldArticle = article.data[section]["section_iters"][`iteration${iterNumber}`];
let iterNum = Number(iterNumber) + 1;