#10191 fix url sound event on metaconsole
This commit is contained in:
parent
b36ade1821
commit
a28aef4050
|
@ -947,11 +947,19 @@ function process_buffers(buffers) {
|
|||
}
|
||||
|
||||
function openSoundEventModal(settings) {
|
||||
if ($("#hidden-metaconsole_activated").val() === "1") {
|
||||
var win = open(
|
||||
"../../operation/events/sound_events.php",
|
||||
"day_123",
|
||||
"width=600,height=500"
|
||||
);
|
||||
} else {
|
||||
var win = open(
|
||||
"operation/events/sound_events.php",
|
||||
"day_123",
|
||||
"width=600,height=500"
|
||||
);
|
||||
}
|
||||
if (win) {
|
||||
//Browser has allowed it to be opened
|
||||
win.focus();
|
||||
|
|
Loading…
Reference in New Issue