Revision 5f4f93b3
Von Moritz Bunkus vor fast 15 Jahren hinzugefügt
bin/mozilla/ar.pl | ||
---|---|---|
1268 | 1268 |
$form->all_vc(\%myconfig, "customer", "AR"); |
1269 | 1269 |
|
1270 | 1270 |
$form->{title} = $locale->text('AR Transactions'); |
1271 |
$form->{fokus} = "search.customer"; |
|
1272 | 1271 |
$form->{jsscript} = 1; |
1273 | 1272 |
|
1274 | 1273 |
$form->get_lists("projects" => { "key" => "ALL_PROJECTS", "all" => 1 }, |
templates/webpages/ar/search_de.html | ||
---|---|---|
193 | 193 |
Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" }); |
194 | 194 |
Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" }); |
195 | 195 |
$(document).ready(function(){ |
196 |
focus(); |
|
196 |
$('customer').focus();
|
|
197 | 197 |
setupDateFormat('[% dateformat | html %]','Falsches Datumsformat!'); |
198 | 198 |
setupPoints('[% numberformat | html %]','Falsches Format'); |
199 | 199 |
}) |
templates/webpages/ar/search_master.html | ||
---|---|---|
193 | 193 |
Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" }); |
194 | 194 |
Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" }); |
195 | 195 |
$(document).ready(function(){ |
196 |
focus(); |
|
196 |
$('customer').focus();
|
|
197 | 197 |
setupDateFormat('[% dateformat | html %]','<translate>Falsches Datumsformat!</translate>'); |
198 | 198 |
setupPoints('[% numberformat | html %]','<translate>wrongformat</translate>'); |
199 | 199 |
}) |
Auch abrufbar als: Unified diff
Fokus via jQuery setzen.
Funktioniert damit auch im Internet Explorer. Rest des Fixes für Bug
1374.