diff --git a/assets/script/main.js b/assets/script/main.js new file mode 100644 index 0000000..b425752 --- /dev/null +++ b/assets/script/main.js @@ -0,0 +1,16 @@ +"use strict"; + +var AdminFunction = (function () { + function add_product_to_category(id) { + $('#status_' + id).html('Đang xử lý..'); + setTimeout(function () { + $('#status_' + id).html(''); + }, 1000) + } + + return { + add_product_to_category: add_product_to_category + } +})(); + + diff --git a/template/order/bargain.html b/template/order/bargain.html index 2a788a1..310d10e 100644 --- a/template/order/bargain.html +++ b/template/order/bargain.html @@ -1,16 +1,19 @@ -