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