_CAPTCHA_, _EDITOR_ 선언하지 않아도 오류나지 않도록 수정
캡챠와 에디터를 plugin 디렉토리에서 extend 디렉토리로 변경
This commit is contained in:
@ -63,7 +63,8 @@ function wrestHangul(fld)
|
||||
{
|
||||
if (!wrestTrim(fld)) return;
|
||||
|
||||
var pattern = /([^가-힣\x20])/i;
|
||||
//var pattern = /([^가-힣\x20])/i;
|
||||
var pattern = /([^가-힣\x20])/;
|
||||
|
||||
if (pattern.test(fld.value)) {
|
||||
if (wrestFld == null) {
|
||||
@ -79,6 +80,7 @@ function wrestHangul2(fld)
|
||||
if (!wrestTrim(fld)) return;
|
||||
|
||||
var pattern = /([^가-힣ㄱ-ㅎㅏ-ㅣ\x20])/i;
|
||||
//var pattern = /([^가-힣ㄱ-ㅎㅏ-ㅣ\x20])/;
|
||||
|
||||
if (pattern.test(fld.value)) {
|
||||
if (wrestFld == null) {
|
||||
|
||||
Reference in New Issue
Block a user