equal
deleted
inserted
replaced
1205 else |
1205 else |
1206 { |
1206 { |
1207 document.getElementById('s_db_host').src='images/bad.gif'; |
1207 document.getElementById('s_db_host').src='images/bad.gif'; |
1208 ret = false; |
1208 ret = false; |
1209 } |
1209 } |
1210 if(frm.db_name.value.match(/^([a-z0-9_]+)$/g)) |
1210 if(frm.db_name.value.match(/^([a-z0-9_-]+)$/g)) |
1211 { |
1211 { |
1212 document.getElementById('s_db_name').src='images/unknown.gif'; |
1212 document.getElementById('s_db_name').src='images/unknown.gif'; |
1213 } |
1213 } |
1214 else |
1214 else |
1215 { |
1215 { |