update sumo_id regex
This commit is contained in:
		@@ -204,7 +204,7 @@ window.addEventListener('load', function() {
 | 
				
			|||||||
    $('.btn-robot-go').click(function() {
 | 
					    $('.btn-robot-go').click(function() {
 | 
				
			||||||
        // Get and validate the selected robot ID
 | 
					        // Get and validate the selected robot ID
 | 
				
			||||||
        var robotId = $('#robot-id').val().trim();
 | 
					        var robotId = $('#robot-id').val().trim();
 | 
				
			||||||
        if (robotId === '' || /^([a-f0-9]{8})$/.test(robotId) == false) {
 | 
					        if (robotId === '' || /^([a-zA-Z0-9]{8})$/.test(robotId) == false) {
 | 
				
			||||||
            $('#robot-id, #robot-label').addClass('has-error');
 | 
					            $('#robot-id, #robot-label').addClass('has-error');
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user