]> wagnertech.de Git - kivitendo-erp.git/commitdiff
fokus in Debitorenbuchungen gefixt
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 26 Oct 2012 11:33:26 +0000 (13:33 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 26 Oct 2012 11:33:26 +0000 (13:33 +0200)
bin/mozilla/ar.pl
templates/webpages/ar/form_header.html

index 8d0e89de9740987116037c252695c14c70fa6b49..f164997af23e8d5d3403d5837417598829a9aec4 100644 (file)
@@ -315,7 +315,7 @@ sub form_header {
     $taxcharts{$item->{id}} = $item;
   }
 
     $taxcharts{$item->{id}} = $item;
   }
 
-  $form->{fokus} = "arledger.customer";
+  $::request->{layout}->focus("#customer");
 
   my $follow_up_vc         =  $form->{customer};
   $follow_up_vc            =~ s/--.*?//;
 
   my $follow_up_vc         =  $form->{customer};
   $follow_up_vc            =~ s/--.*?//;
index 7fa799f5fcf30a29c7c8b7b0e629e50ad186c5f8..363bb9d2039ccf527dc645e379602b24af327a44 100644 (file)
@@ -32,9 +32,9 @@
                 <th align="right" nowrap>[% 'Customer' | $T8 %]</th>
                 <td colspan=3>
 [%- IF selectcustomer %]
                 <th align="right" nowrap>[% 'Customer' | $T8 %]</th>
                 <td colspan=3>
 [%- IF selectcustomer %]
-    <select name="customer" onchange="document.getElementById('update_button').click();">[% selectcustomer %]</select>
+    <select id='customer' name="customer" onchange="document.getElementById('update_button').click();">[% selectcustomer %]</select>
 [%- ELSE %]
 [%- ELSE %]
-    <input name=customer value="[% customer | html %]" size=35>
+    <input id='customer' name=customer value="[% customer | html %]" size=35>
 [%- END %]
                 <input type="button" value="[% 'Details (one letter abbreviation)' | $T8 %]" onclick="show_vc_details('customer')"></td>
                 [% L.hidden_tag('selectcustomer', selectcustomer) %]
 [%- END %]
                 <input type="button" value="[% 'Details (one letter abbreviation)' | $T8 %]" onclick="show_vc_details('customer')"></td>
                 [% L.hidden_tag('selectcustomer', selectcustomer) %]