From 4baa273f8e9228af36de203e7e1f43be4e08c6fb Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Thu, 14 Dec 2017 11:06:06 +0630 Subject: [PATCH] update call waiter --- .../javascripts/channels/call_waiter.js | 6 ++--- app/assets/stylesheets/origami.scss | 23 ++++++++++++++++++- app/models/dining_facility.rb | 1 + 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/channels/call_waiter.js b/app/assets/javascripts/channels/call_waiter.js index f0274f91..f45748a9 100644 --- a/app/assets/javascripts/channels/call_waiter.js +++ b/app/assets/javascripts/channels/call_waiter.js @@ -25,13 +25,13 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', { if (animateEnter === null || animateEnter === '') { animateEnter = 'animated fadeInDown'; } if (animateExit === null || animateExit === '') { animateExit = 'animated fadeOutUp'; } var allowDismiss = true; + $.notify({ message: text }, { type: colorName, allow_dismiss: allowDismiss, - newest_on_top: true, timer: 200000000000000, placement: { from: placementFrom, @@ -41,8 +41,8 @@ App.call_waiter = App.cable.subscriptions.create('CallWaiterChannel', { enter: animateEnter, exit: animateExit }, - template: '