mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-24 17:02:18 +00:00
Modified configs so that templates are rendered. Functionality and styling are NOT complete (need to change css framework)
This commit is contained in:
@@ -16,23 +16,7 @@ function filterAssetTable() {
|
||||
});
|
||||
}
|
||||
|
||||
function updateAsset() {
|
||||
$.ajax({
|
||||
url : "/asset/update/", // the endpoint
|
||||
type : "POST", // http method
|
||||
data : {
|
||||
form: $('#asset_update_form').serialize()
|
||||
},
|
||||
traditional: true,
|
||||
|
||||
success : function(data) {
|
||||
// console.log(data);
|
||||
window.location.href = data['url'];
|
||||
},
|
||||
|
||||
error : function(xhr) {console.log(xhr.status + ": " + xhr.responseText)}
|
||||
});
|
||||
}
|
||||
|
||||
function formAssetSearch() {
|
||||
$.ajax({
|
||||
|
||||
Reference in New Issue
Block a user