From e3d2d8ea087e27d4129c40803b5f65f5cc18a52e Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Tue, 10 Feb 2026 19:14:43 +1100 Subject: [PATCH] remove jquery filter for nav-tabs now we are using nav-pills in vertical mode, it was unnecessary anyway, only one div had navlinks, so just using the rest of the filter, and this fixes the BUG too --- BUGS | 4 ---- templates/bills.html | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/BUGS b/BUGS index 3624685..d22d124 100644 --- a/BUGS +++ b/BUGS @@ -3,10 +3,6 @@ * with future bills - recalculate bills button blows away growth! - BUT, I think just loading the bills page puts it back -- need to validate and fix if so -* with new vertical lay-out, the autosetting of the bill_type when I click add - bill no longer sets to the tab I am viewing - -- also keeps going back to Gas for some reason? - * can put in dumb dates - DO SOME INPUT VALIDATION, *sigh* - e.g. 0026-02-19 for a Gas bill diff --git a/templates/bills.html b/templates/bills.html index aad64d1..b7655ba 100644 --- a/templates/bills.html +++ b/templates/bills.html @@ -456,7 +456,7 @@ function SaveTab( last_tab ) { // set the drop-down for new bill to be this tab now... - $("#new-bill-data-type").val( $('.nav-tabs .nav-link.active').prop('id').replace("tab-but-", "") ) + $("#new-bill-data-type").val( $('.nav-link.active').prop('id').replace("tab-but-", "") ) $.ajax( { type: 'POST', url: '/saveui', contentType: 'application/json', data: JSON.stringify( { 'last_tab': last_tab } ), success: function() { } } ) }