Commit c8ec5cb01c5af1822e81cc5e81f0d568f9f3ff2d

Authored by totoro
1 parent 777d4ec3

fix some bug introduced with url management and phone with attributes

hayamiki_lib @ a8e062d5842
1 -Subproject commit 974c8566fd29876100e5d7ffcfa3031246273447 1 +Subproject commit a8e062d5842b19e2b2226fe7dd3b7bf10a5dd9d7
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)+")"