Le sigh - needed to make a new ImportLogViewModel - can't be shared because of DenyPreviousMonth
This commit is contained in:
@@ -96,11 +96,16 @@ $(function() {
|
||||
'vehicle-nav': /\/vehicle/i,
|
||||
'user-nav': /\/user/i
|
||||
};
|
||||
var set = false;
|
||||
$.each(idNavActiveRegex, function (id, regex) {
|
||||
if (regex.test(document.URL)) {
|
||||
$("#" + id).addClass('active');
|
||||
$("#" + id).addClass('active');
|
||||
set = true;
|
||||
}
|
||||
});
|
||||
if (!set) {
|
||||
$("#" + 'create-nav').addClass('active');
|
||||
}
|
||||
});
|
||||
|
||||
function addButtonIcons () {
|
||||
|
||||
Reference in New Issue
Block a user