From 3d8476dab16023bb1dbee4e1554e11e45417cdcf Mon Sep 17 00:00:00 2001 From: Will Budic Date: Sun, 10 May 2020 15:37:23 +1000 Subject: [PATCH] Reset View By Category implemented, only, not tested. --- htdocs/cgi-bin/main.cgi | 1 + htdocs/cgi-bin/wsrc/main.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/htdocs/cgi-bin/main.cgi b/htdocs/cgi-bin/main.cgi index 36be759..1fef35b 100755 --- a/htdocs/cgi-bin/main.cgi +++ b/htdocs/cgi-bin/main.cgi @@ -876,6 +876,7 @@ _TXT +        View by Amount Type: diff --git a/htdocs/cgi-bin/wsrc/main.js b/htdocs/cgi-bin/wsrc/main.js index 85018d0..1a043da 100644 --- a/htdocs/cgi-bin/wsrc/main.js +++ b/htdocs/cgi-bin/wsrc/main.js @@ -796,6 +796,11 @@ function removeExclude() { return false; } +function resetViewByCategory(){ + $("#vc").val(0); + $("#lcat_v").html("   -- Select --   "); +} + function resetExclude(){ $("#xc").val(0); $('#divxc').text(""); -- 2.34.1