mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-18 14:02:15 +00:00
Added dependency django-polymorphic
Model change to take advantage of said polymorphism Implemented asset search
This commit is contained in:
@@ -1,20 +1,4 @@
|
||||
function filterAssetTable() {
|
||||
$.ajax({
|
||||
url : "/asset/filter/", // the endpoint
|
||||
type : "POST", // http method
|
||||
data : {
|
||||
form: $('#asset-filter-form').serialize()
|
||||
},
|
||||
traditional: true,
|
||||
|
||||
success : function(data) {
|
||||
// console.log(data);
|
||||
$('#asset_table_body').html(data)
|
||||
},
|
||||
|
||||
error : function(xhr) {console.log(xhr.status + ": " + xhr.responseText)}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user