mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 17:20:15 -06:00
23 lines
627 B
JavaScript
23 lines
627 B
JavaScript
function showAddVehicleModal() {
|
|
uploadedFile = "";
|
|
$.get('/Vehicle/AddVehiclePartialView', function (data) {
|
|
if (data) {
|
|
$("#addVehicleModalContent").html(data);
|
|
}
|
|
})
|
|
$('#addVehicleModal').modal('show');
|
|
}
|
|
function hideAddVehicleModal() {
|
|
$('#addVehicleModal').modal('hide');
|
|
}
|
|
//refreshable function to reload Garage PartialView
|
|
function loadGarage() {
|
|
$.get('/Home/Garage', function (data) {
|
|
$("#garageContainer").html(data);
|
|
});
|
|
}
|
|
function loadSettings() {
|
|
$.get('/Home/Settings', function (data) {
|
|
$("#settings-tab-pane").html(data);
|
|
});
|
|
} |