equal
deleted
inserted
replaced
1382 else |
1382 else |
1383 { |
1383 { |
1384 document.getElementById('s_db_host').src='images/bad.gif'; |
1384 document.getElementById('s_db_host').src='images/bad.gif'; |
1385 ret = false; |
1385 ret = false; |
1386 } |
1386 } |
1387 if(frm.db_name.value.match(/^([a-z0-9_-]+)$/g)) |
1387 if(frm.db_name.value.match(/^([A-z0-9_-]+)$/g)) |
1388 { |
1388 { |
1389 document.getElementById('s_db_name').src='images/unknown.gif'; |
1389 document.getElementById('s_db_name').src='images/unknown.gif'; |
1390 } |
1390 } |
1391 else |
1391 else |
1392 { |
1392 { |