Update base.html (#242)
This commit is contained in:
parent
eab8d55d63
commit
c8189bb969
|
|
@ -376,7 +376,7 @@
|
||||||
$("#modal_new_client").modal('hide');
|
$("#modal_new_client").modal('hide');
|
||||||
toastr.success('Created new client successfully');
|
toastr.success('Created new client successfully');
|
||||||
// Update the home page (clients page) after adding successfully
|
// Update the home page (clients page) after adding successfully
|
||||||
if (window.location.pathname === "/") {
|
if (window.location.pathname === "{{.basePath}}/") {
|
||||||
populateClient(resp.id);
|
populateClient(resp.id);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue