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:
4
BUGS
4
BUGS
@@ -3,10 +3,6 @@
|
|||||||
* with future bills - recalculate bills button blows away growth!
|
* 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
|
- 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*
|
* can put in dumb dates - DO SOME INPUT VALIDATION, *sigh*
|
||||||
- e.g. 0026-02-19 for a Gas bill
|
- e.g. 0026-02-19 for a Gas bill
|
||||||
|
|
||||||
|
|||||||
@@ -456,7 +456,7 @@
|
|||||||
function SaveTab( last_tab )
|
function SaveTab( last_tab )
|
||||||
{
|
{
|
||||||
// set the drop-down for new bill to be this tab now...
|
// 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() { } } )
|
$.ajax( { type: 'POST', url: '/saveui', contentType: 'application/json', data: JSON.stringify( { 'last_tab': last_tab } ), success: function() { } } )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user