aaudio play under origami

This commit is contained in:
phyusin
2018-05-29 16:01:56 +06:30
parent 776479a74e
commit e9bbc711dc
3 changed files with 7 additions and 4 deletions

View File

@@ -15,8 +15,11 @@ App.order_reservation = App.cable.subscriptions.create('OrderReservationChannel'
var active_class = "";
if(key==0){
active_class = "tr-active";
if (typeof showNewOrder !== 'undefined' && $.isFunction(showNewOrder)) {
showNewOrder(order[key],shop_code);
if (typeof audioPlayBackground !== 'undefined' && $.isFunction(audioPlayBackground)) {
audioPlayBackground(shop_code);
}
if (typeof showNewOrderAlert !== 'undefined' && $.isFunction(showNewOrderAlert)) {
showNewOrderAlert(order[key],shop_code);
}
}
var rowCount = key+1;