mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
revert for crud changes did by @mgoleli
This commit is contained in:
parent
6018567b4f
commit
5bf088dab2
@ -3,3 +3,15 @@
|
|||||||
// Go!
|
// Go!
|
||||||
|
|
||||||
})(window, document);
|
})(window, document);
|
||||||
|
|
||||||
|
function crud(params, url, type, callback) {
|
||||||
|
$.ajax({
|
||||||
|
type: type,
|
||||||
|
async: false,
|
||||||
|
data: params,
|
||||||
|
url: url,
|
||||||
|
success: function (response) {
|
||||||
|
callback(response);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user