Update scf.php
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ namespace:' . $_SERVER['namespace'] . '<br>
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
//t.disktag_add.value=encodeURIComponent(t.disktag_add.value);
|
//t.disktag_add.value=encodeURIComponent(t.disktag_add.value);
|
||||||
var reg = /^[a-zA-Z]([-_a-zA-Z0-9]{2,20})$/;
|
var reg = /^[a-zA-Z]([-_a-zA-Z0-9]{1,20})$/;
|
||||||
if (!reg.test(t.disktag_add.value)) {
|
if (!reg.test(t.disktag_add.value)) {
|
||||||
alert(\'Tag Only letters and numbers, must start with letters!\');
|
alert(\'Tag Only letters and numbers, must start with letters!\');
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user