mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
issue 2104 add the extra lang code(type of kr_zip, tel) in member page.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11013 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b041550c53
commit
afa8597aa0
3 changed files with 12 additions and 5 deletions
|
|
@ -426,7 +426,14 @@
|
|||
|
||||
foreach($extraList as $val)
|
||||
{
|
||||
$js_code[] = sprintf('validator.cast("ADD_MESSAGE", ["%s","%s"]);', $val->column_name, $val->column_title);
|
||||
if($val->column_type == 'kr_zip' || $val->column_type == 'tel')
|
||||
{
|
||||
$js_code[] = sprintf('validator.cast("ADD_MESSAGE", ["%s[]","%s"]);', $val->column_name, $val->column_title);
|
||||
}
|
||||
else
|
||||
{
|
||||
$js_code[] = sprintf('validator.cast("ADD_MESSAGE", ["%s","%s"]);', $val->column_name, $val->column_title);
|
||||
}
|
||||
}
|
||||
|
||||
$js_code[] = '})(jQuery);';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue