X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4b211b2b087d445984df5220437400bced1dd1dd..4bed72f:/templates/webpages/ct/_contact.html
diff --git a/templates/webpages/ct/_contact.html b/templates/webpages/ct/_contact.html
index f6c9b8a5a..7155b61d4 100644
--- a/templates/webpages/ct/_contact.html
+++ b/templates/webpages/ct/_contact.html
@@ -5,7 +5,7 @@
[% 'Contacts' | $T8 %] |
[%- L.select_tag('cp_id', CONTACTS, default = cp_id, with_empty = 1, empty_title = LxERP.t8('New contact'), value_key = 'cp_id', title_sub = \contacts_label,
- onchange = "\$('#contacts').load('ct.pl?action=get_contact&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&cp_id=' + \$('#cp_id').attr('value'))") %]
+ onchange = "\$('#contacts').load('ct.pl?action=get_contact&id=' + \$('#cvid').val() + '&db=' + \$('#db').val() + '&cp_id=' + \$('#cp_id').val())") %]
|
@@ -37,7 +37,7 @@
| [% 'Function/position' | $T8 %] |
- [% L.input_tag('cp_function', cp_function, size=40) %] |
+ [% L.input_tag('cp_position', cp_position, size=40, maxlength=75) %] |
@@ -151,5 +151,3 @@
[% IF cp_id %]
[% END %]
-
-