From 7c20384deae1f74f33b4ecbfd44f0cec85f21eee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 26 Oct 2012 13:27:13 +0200 Subject: [PATCH] fokus in Einkauf->Berichte->Rechnungen gefixt --- bin/mozilla/ap.pl | 2 +- templates/webpages/ap/search.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index e31f322b6..8c55a3d9c 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -1221,7 +1221,7 @@ sub search { $form->all_vc(\%myconfig, "vendor", "AP"); $form->{title} = $locale->text('AP Transactions'); - $form->{fokus} = "search.vendor"; + $::request->{layout}->focus('#vendor'); $form->{jsscript} = 1; $form->get_lists("projects" => { "key" => "ALL_PROJECTS", "all" => 1 }, diff --git a/templates/webpages/ap/search.html b/templates/webpages/ap/search.html index 0bb447b31..99898a6ea 100644 --- a/templates/webpages/ap/search.html +++ b/templates/webpages/ap/search.html @@ -13,6 +13,7 @@ [% 'Vendor' | $T8 %] [%- INCLUDE 'generic/multibox.html' + id = 'vendor', name = 'vendor', default = oldvendor, style = 'width: 250px', -- 2.20.1