add crud function for base theme

This commit is contained in:
vedatakd 2020-04-15 17:20:16 +03:00
parent 2edf2e5896
commit 50cdbd7496

View File

@ -3,3 +3,15 @@
// Go!
})(window, document);
function crud(params, url, type, callback) {
$.ajax({
type: type,
async: false,
data: params,
url: url,
success: function (response) {
callback(response);
},
});
}