Revision 4061ebb7
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
SL/Controller/Layout/None.pm | ||
---|---|---|
4 | 4 |
use parent qw(SL::Controller::Layout::Base); |
5 | 5 |
|
6 | 6 |
sub javascripts_inline { |
7 |
_setup_formats(), |
|
8 |
_setup_focus(), |
|
9 |
} |
|
10 |
|
|
11 |
|
|
12 |
sub _setup_formats { |
|
7 | 13 |
$::form->parse_html_template('generic/javascript_setup') |
8 | 14 |
} |
9 | 15 |
|
16 |
sub _setup_focus { |
|
17 |
if ($::request->{layout}->focus || $::form->{fokus}) { |
|
18 |
return $::form->parse_html_template('generic/focus_setup', { |
|
19 |
focus => $::request->{layout}->focus, |
|
20 |
fokus => $::form->{fokus}, |
|
21 |
}) |
|
22 |
} else { |
|
23 |
return (); |
|
24 |
} |
|
25 |
} |
|
26 |
|
|
10 | 27 |
1; |
Auch abrufbar als: Unified diff
container für focus handling