Revision 18407da4
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
bin/mozilla/dn.pl | ||
---|---|---|
154 | 154 |
'no_opendocument' => 1,); |
155 | 155 |
|
156 | 156 |
$form->header(); |
157 |
$form->{onload} = "document.getElementsByName('language_id')[0].disabled = |
|
158 |
!document.getElementsByName('force_lang')[0].checked;"; |
|
159 | 157 |
print $form->parse_html_template("dunning/show_invoices"); |
160 | 158 |
|
161 | 159 |
$main::lxdebug->leave_sub(); |
... | ... | |
312 | 310 |
|
313 | 311 |
$form->{jsscript} = 1; |
314 | 312 |
$form->{title} = $locale->text('Dunnings'); |
315 |
$form->{fokus} = "search.customer";
|
|
313 |
$::request->{layout}->focus('#customer');
|
|
316 | 314 |
|
317 | 315 |
$form->header(); |
318 | 316 |
|
... | ... | |
456 | 454 |
|
457 | 455 |
$report->set_options_from_form(); |
458 | 456 |
|
459 |
$form->{onload} = "document.getElementsByName('language_id')[0].disabled = |
|
460 |
!document.getElementsByName('force_lang')[0].checked;"; |
|
461 | 457 |
$report->generate_with_headers(); |
462 | 458 |
|
463 | 459 |
$main::lxdebug->leave_sub(); |
Auch abrufbar als: Unified diff
onload in dn.pl und common.pl