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

This commit is contained in:
2026-02-10 19:14:43 +11:00
parent 8446f59740
commit e3d2d8ea08
2 changed files with 1 additions and 5 deletions

4
BUGS
View File

@@ -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

View File

@@ -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() { } } )
}