update call waiter channel

This commit is contained in:
Aung Myo
2017-12-05 10:24:01 +06:30
parent 3354733e41
commit 20a86b86f5
2 changed files with 39 additions and 41 deletions

View File

@@ -6,9 +6,8 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', {
disconnected: function() {},
received: function(data) {
console.log(data.table);
console.log(data.time);
table = data.table
// for Notificaiotn message
var placementFrom = "top";
var placementAlign = "center";
@@ -31,7 +30,6 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', {
},
{
type: colorName,
newest_on_top: true,
allow_dismiss: allowDismiss,
newest_on_top: true,
timer: 200000000000000,

View File

@@ -380,7 +380,7 @@
});
$('#pay').click(function() {
$('#pay').text("Processing, Please wait!")
// $('#pay').text("Processing, Please wait!")
$( "#loading_wrapper" ).show();