Merge branch 'release-1.36'
This commit is contained in:
commit
855a81b975
|
@ -75,7 +75,7 @@ function validateForm( form ) {
|
|||
} else if ( form.elements['newMonitor[Type]'].value == 'Ffmpeg' ) {
|
||||
if ( !form.elements['newMonitor[Path]'].value ) {
|
||||
errors[errors.length] = "<?php echo translate('BadPath') ?>";
|
||||
} else if (form.elements['newMonitor[Path]'].value.match(/[\!\*'\(\)\$ ,#\[\]]/)) {
|
||||
} else if (form.elements['newMonitor[Path]'].value.match(/[\!\*'\(\)\$ ,#]/)) {
|
||||
warnings[warnings.length] = "<?php echo translate('BadPathNotEncoded') ?>";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue