From e5ff4c1f279bc358a2119c105c04eee814b9677b Mon Sep 17 00:00:00 2001 From: uncol Date: Wed, 1 Dec 2021 07:26:35 +0300 Subject: [PATCH] noc/noc#1718 --- ui/web/fm/alarmseverity/Application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/web/fm/alarmseverity/Application.js b/ui/web/fm/alarmseverity/Application.js index 182b47cf5c..d306c80d78 100644 --- a/ui/web/fm/alarmseverity/Application.js +++ b/ui/web/fm/alarmseverity/Application.js @@ -142,7 +142,7 @@ Ext.define("NOC.fm.alarmseverity.Application", { if(!me.currentRecord.get("sound")) { return; } - snd = new Audio(me.currentRecord.get("sound")); + snd = new Audio(Ext.String.format('/ui/pkg/nocsound/{0}.mp3', me.currentRecord.get("sound"))); snd.volume = (me.currentRecord.get("volume") || 100) / 100; snd.play(); } -- GitLab