Commit c8ec5cb01c5af1822e81cc5e81f0d568f9f3ff2d
1 parent
777d4ec3
fix some bug introduced with url management and phone with attributes
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
hayamiki_lib @ a8e062d5842
src/generation/fields.anubis
| @@ -64,7 +64,7 @@ public define String | @@ -64,7 +64,7 @@ public define String | ||
| 64 | text_field(_) then "string", | 64 | text_field(_) then "string", |
| 65 | color_field then "string", | 65 | color_field then "string", |
| 66 | phone_field(_) then "string", | 66 | phone_field(_) then "string", |
| 67 | - url_field then "String", | 67 | + url_field then "string", |
| 68 | email_field then "string" | 68 | email_field then "string" |
| 69 | }. | 69 | }. |
| 70 | 70 |
src/generation/vt_view.anubis
| @@ -78,7 +78,7 @@ define String | @@ -78,7 +78,7 @@ define String | ||
| 78 | password_field(min_size) then "password(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", | 78 | password_field(min_size) then "password(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", |
| 79 | text_field(txt_attr) then "text_area(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", | 79 | text_field(txt_attr) then "text_area(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", |
| 80 | color_field then "color(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", | 80 | color_field then "color(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", |
| 81 | - phone_field(_) then "phone(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", | 81 | + phone_field(phone_attr) then "phone(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(phone_attr)+", "+to_Anubis_source(help)+")", |
| 82 | // mobile_field then "mobile_phone(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", | 82 | // mobile_field then "mobile_phone(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", |
| 83 | url_field then "url(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", | 83 | url_field then "url(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")", |
| 84 | email_field then "email(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")" | 84 | email_field then "email(\""+to_upper(name)+"\", \""+name+"\", "+to_Anubis_source(help)+")" |