From: Will Budic Date: Sun, 10 May 2020 05:37:23 +0000 (+1000) Subject: Reset View By Category implemented, only, not tested. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=3d8476dab16023bb1dbee4e1554e11e45417cdcf;p=LifeLog.git Reset View By Category implemented, only, not tested. --- 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("");