diff --git a/ui/web/fm/alarm/view/grids/SidebarController.js b/ui/web/fm/alarm/view/grids/SidebarController.js index b89c1c729bbb03d3ea32f2febdc3b882442d44d2..35970a4b8d688400c6137604772c4ea0329d2f90 100644 --- a/ui/web/fm/alarm/view/grids/SidebarController.js +++ b/ui/web/fm/alarm/view/grids/SidebarController.js @@ -94,9 +94,8 @@ Ext.define("NOC.fm.alarm.view.grids.SidebarController", { success: function(response) { var data = Ext.decode(response.responseText); if(data.sound) { - if(!this.sounds[data.sound]) { - this.sounds[data.sound] = new Audio(data.sound); - } + Ext.applyIf(this, {sounds: {}}); + this.sounds[data.sound] = new Audio(data.sound); this.sounds[data.sound].volume = data.volume || 1.0; this.sounds[data.sound].play(); }