diff options
Diffstat (limited to 'www/js/EventServer.js')
| -rw-r--r-- | www/js/EventServer.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/EventServer.js b/www/js/EventServer.js index a333f2dd..b74298c3 100644 --- a/www/js/EventServer.js +++ b/www/js/EventServer.js @@ -431,7 +431,7 @@ angular.module('zmApp.controllers') // data.image, // data.additionalData - media.play(); + if (data.additionalData.foreground == false) { @@ -446,6 +446,7 @@ angular.module('zmApp.controllers') { // alarm received in foregroun //var str=data.additionalData.alarm_details; + media.play(); var str = data.message; // console.log ("***STRING: " + str + " " +str.status); var eventsToDisplay=[]; |
