check token for cloud

This commit is contained in:
phyusin
2018-05-11 17:52:52 +06:30
parent c65bf1c163
commit 7d45e6ca81
4 changed files with 7 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ App.order_reservation = App.cable.subscriptions.create('OrderReservationChannel'
var order = data.data;
if(order.length > 0){
$('.custom-table.'+shop_code+'_order_reserve_cable tbody').html("");
$(".nav-item ."+shop_code+" .red > a > p.num").text(order.length);
$("."+shop_code+" > .nav-item.red > a > p.num").text(order.length);
$.each(order, function(key,value){
var active_class = "";
if(key==0){

View File

@@ -147,6 +147,8 @@ $(function() {
return false;
}
});
$('button[data-dismiss="modal"]').on('click', function(){ $(this).parent().parent().parent().parent().modal('hide'); });
});
function check_emp_access_code(access_code,type) {