X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FCustomerVendor.pm;h=042ec25bf9b0911eaffc41ee14b3e098dfbbee5e;hb=8237252928d60c67870d07e18f78347926374ccd;hp=6b0362a588315a5a08c1a6a631d15203fe7714d0;hpb=c2aaf253649281fee8e79a3300d81c827d9a1fd1;p=kivitendo-erp.git diff --git a/SL/Controller/CustomerVendor.pm b/SL/Controller/CustomerVendor.pm index 6b0362a58..042ec25bf 100644 --- a/SL/Controller/CustomerVendor.pm +++ b/SL/Controller/CustomerVendor.pm @@ -640,7 +640,6 @@ sub action_ajaj_autocomplete { } sub action_test_page { - $::request->{layout}->add_javascripts('autocomplete_customer.js'); $_[0]->render('customer_vendor/test_page'); } @@ -939,7 +938,6 @@ sub _pre_render { $self->{template_args} ||= {}; - $::request->{layout}->add_javascripts('autocomplete_customer.js'); $::request->{layout}->add_javascripts('kivi.CustomerVendor.js'); $::request->{layout}->add_javascripts('kivi.File.js'); @@ -954,8 +952,9 @@ sub _setup_form_action_bar { combobox => [ action => [ t8('Save'), - submit => [ '#form', { action => "CustomerVendor/save" } ], - checks => [ 'check_taxzone_and_ustid' ], + submit => [ '#form', { action => "CustomerVendor/save" } ], + checks => [ 'check_taxzone_and_ustid' ], + accesskey => 'enter', ], action => [ t8('Save and Close'),