#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) {
|
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(
|
var win = open(
|
||||||
"operation/events/sound_events.php",
|
"operation/events/sound_events.php",
|
||||||
"day_123",
|
"day_123",
|
||||||
"width=600,height=500"
|
"width=600,height=500"
|
||||||
);
|
);
|
||||||
|
}
|
||||||
if (win) {
|
if (win) {
|
||||||
//Browser has allowed it to be opened
|
//Browser has allowed it to be opened
|
||||||
win.focus();
|
win.focus();
|
||||||
|
|
Loading…
Reference in New Issue