From 0172ce1e2e245a9bd29983a6694faa671027e59a Mon Sep 17 00:00:00 2001 From: wbudic Date: Fri, 10 Sep 2021 18:54:50 +1000 Subject: [PATCH] Sum interaction, updated. --- .gitignore | 1 + Current Development Check List.md | 2 ++ htdocs/cgi-bin/main.cgi | 2 +- htdocs/cgi-bin/wsrc/main.js | 56 +++++++++++++++++++++---------- 4 files changed, 42 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index d0bfbb6..384b7be 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ cgisess_* .vscode .vstags .history +.history/* tags */bck/* bck_* diff --git a/Current Development Check List.md b/Current Development Check List.md index ea566c4..fb623d7 100644 --- a/Current Development Check List.md +++ b/Current Development Check List.md @@ -6,6 +6,8 @@ ### New Development v.2.3+ +* ✔ Sums and dynamic calculations, interactions further to be refined. + * Canceling submit, leaves the translated '**\n**' for transfer not reverted. * ✔ Setting should provide page color defaults in form of an hash. * These should/can change based on selected theme. That possibly in future can be changed via config. * colBG,colFG, colSHDW, etc... diff --git a/htdocs/cgi-bin/main.cgi b/htdocs/cgi-bin/main.cgi index 761a82b..c74e272 100755 --- a/htdocs/cgi-bin/main.cgi +++ b/htdocs/cgi-bin/main.cgi @@ -925,7 +925,7 @@ HTML - '); }, buttons: [ - { text: "Yes", - icons: { primary: "ui-icon-circle-check" }, + + { text: "Yes", + icons: { primary: "ui-icon-circle-check" }, click: function() { - $( this ).dialog( "close" ); - $("#frm_entry").submit(); + $( this ).dialog( "close" ); + $("#frm_entry").submit(); } }, { text: "No", - click: function() {$( this ).dialog( "close" ); return false;} + click: function() { + decodeText(); + $( this ).dialog( "close" ); + return false; + } } ] }); -- 2.34.1