mirror of https://github.com/MISP/MISP
fix: [UI] Template element sorting
parent
f1f1a2465f
commit
b6aac6347a
|
@ -33,6 +33,6 @@ $(function() {
|
||||||
|
|
||||||
saveElementSorting(JSON.stringify(order));
|
saveElementSorting(JSON.stringify(order));
|
||||||
}
|
}
|
||||||
}).disableSelection();
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1516,6 +1516,7 @@ function saveElementSorting(order) {
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
handleGenericAjaxResponse(data);
|
handleGenericAjaxResponse(data);
|
||||||
},
|
},
|
||||||
|
error: xhrFailCallback,
|
||||||
type:"post",
|
type:"post",
|
||||||
cache: false,
|
cache: false,
|
||||||
url: baseurl + "/templates/saveElementSorting/",
|
url: baseurl + "/templates/saveElementSorting/",
|
||||||
|
|
Loading…
Reference in New Issue