diff --git a/web/skins/classic/views/js/monitor.js.php b/web/skins/classic/views/js/monitor.js.php index 833b8f441..32a1bf2a4 100644 --- a/web/skins/classic/views/js/monitor.js.php +++ b/web/skins/classic/views/js/monitor.js.php @@ -85,8 +85,8 @@ function validateForm( form ) } else if ( form.elements['newMonitor[Type]'].value == 'Remote' ) { - if ( !form.elements['newMonitor[Host]'].value || !form.elements['newMonitor[Host]'].value.match( /^[0-9a-zA-Z_.:@-]+$/ ) ) - errors[errors.length] = ""; + //if ( !form.elements['newMonitor[Host]'].value || !form.elements['newMonitor[Host]'].value.match( /^[0-9a-zA-Z_.:@-]+$/ ) ) + //errors[errors.length] = ""; if ( form.elements['newMonitor[Port]'].value && !form.elements['newMonitor[Port]'].value.match( /^\d+$/ ) ) errors[errors.length] = ""; //if ( !form.elements['newMonitor[Path]'].value )