X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fcontacts.html;h=630a6070472de6695f6bc12ff833ba1c31f45084;hb=ad033a768bbe46566afa159008c42ff7fc6bb35a;hp=d2b87b13ed336cda96aaa0ee8cad8f7bde281105;hpb=95c1acfeb2631a78df6c0cec37649d68657fba04;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/tabs/contacts.html b/templates/webpages/customer_vendor/tabs/contacts.html index d2b87b13e..630a60704 100644 --- a/templates/webpages/customer_vendor/tabs/contacts.html +++ b/templates/webpages/customer_vendor/tabs/contacts.html @@ -18,7 +18,7 @@ empty_title = LxERP.t8('New contact'), value_key = 'cp_id', title_key = 'full_name', - onchange = "kivi.CustomerVendor.selectContact({onFormSet: function(){contactsMapWidget.testInputs();}});", + onchange = "kivi.CustomerVendor.selectContact({onFormSet: function(){ contactsMapWidget.testInputs(); local_reinit_widgets(); }});", ) %] @@ -42,7 +42,7 @@ [% 'Title' | $T8 %] - [% L.input_tag('contact.cp_title', SELF.contact.cp_title, size = 40 maxlength = 75) %] + [% L.input_tag('contact.cp_title', SELF.contact.cp_title, size = 40) %] [% L.select_tag('contact_cp_title_select', SELF.all_titles, with_empty = 1, onchange = '$("#contact_cp_title").val(this.value);') %] @@ -60,7 +60,7 @@ [% 'Function/position' | $T8 %] - [% L.input_tag('contact.cp_position', SELF.contact.cp_position, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_position', SELF.contact.cp_position, size = 40) %] @@ -68,7 +68,7 @@ [% 'Given Name' | $T8 %] - [% L.input_tag('contact.cp_givenname', SELF.contact.cp_givenname, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_givenname', SELF.contact.cp_givenname, size = 40) %] @@ -76,7 +76,7 @@ [% 'Name' | $T8 %] - [% L.input_tag('contact.cp_name', SELF.contact.cp_name, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_name', SELF.contact.cp_name, size = 40) %] @@ -92,7 +92,7 @@ [% 'Phone1' | $T8 %] - [% L.input_tag('contact.cp_phone1', SELF.contact.cp_phone1, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_phone1', SELF.contact.cp_phone1, size = 40) %] @@ -100,7 +100,7 @@ [% 'Phone2' | $T8 %] - [% L.input_tag('contact.cp_phone2', SELF.contact.cp_phone2, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_phone2', SELF.contact.cp_phone2, size = 40) %] @@ -156,10 +156,13 @@ [% 'Street' | $T8 %] - [% L.input_tag('contact.cp_street', SELF.contact.cp_street, size = 40, maxlength = 75) %] + [% L.input_tag('contact.cp_street', SELF.contact.cp_street, size = 40) %] @@ -168,8 +171,8 @@ [% 'Zip, City' | $T8 %] - [% L.input_tag('contact.cp_zipcode', SELF.contact.cp_zipcode, size = 5, maxlength = 10) %] - [% L.input_tag('contact.cp_city', SELF.contact.cp_city, size = 25, maxlength = 75) %] + [% L.input_tag('contact.cp_zipcode', SELF.contact.cp_zipcode, size = 5) %] + [% L.input_tag('contact.cp_city', SELF.contact.cp_city, size = 25) %] @@ -211,7 +214,7 @@ [% var.config.description | html %] - [% PROCESS 'customer_vendor/render_cvar_input.html' + [% INCLUDE 'common/render_cvar_input.html' cvar_name_prefix = 'contact_cvars.' %]