checkbox
This commit is contained in:
16
assets/script/main.js
Normal file
16
assets/script/main.js
Normal file
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
|
||||
var AdminFunction = (function () {
|
||||
function add_product_to_category(id) {
|
||||
$('#status_' + id).html('<span class= "loading loading-bars loading-sm" ></span ><span class="ml-[3px]">Đang xử lý..</span>');
|
||||
setTimeout(function () {
|
||||
$('#status_' + id).html('');
|
||||
}, 1000)
|
||||
}
|
||||
|
||||
return {
|
||||
add_product_to_category: add_product_to_category
|
||||
}
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user