#10191 event sound fix select2
This commit is contained in:
parent
a28aef4050
commit
f5c517ae7d
|
@ -1744,7 +1744,7 @@ function ui_require_javascript_file($name, $path='include/javascript/', $echo_ta
|
||||||
|
|
||||||
if (is_metaconsole()
|
if (is_metaconsole()
|
||||||
&& (isset($config['requirements_use_base_url']) === false
|
&& (isset($config['requirements_use_base_url']) === false
|
||||||
|| $config['requirements_use_base_url'] === false)
|
|| $config['requirements_use_base_url'] === false) && $filename !== 'include/javascript/select2.min.js'
|
||||||
) {
|
) {
|
||||||
$config['js'][$name] = '../../'.$filename;
|
$config['js'][$name] = '../../'.$filename;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -582,7 +582,7 @@ $(document).ready(function(){
|
||||||
sound = true;
|
sound = true;
|
||||||
}
|
}
|
||||||
var urlSound = '../../include/sounds/'+$('#sound_id :selected').val();
|
var urlSound = '../../include/sounds/'+$('#sound_id :selected').val();
|
||||||
console.log(urlSound);
|
|
||||||
test_sound_button(sound, urlSound);
|
test_sound_button(sound, urlSound);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue