Revision e14cb525
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
bin/mozilla/ar.pl | ||
---|---|---|
|
||
my ($title, $readonly, $exchangerate, $rows);
|
||
my ($notes, $department, $customer, $employee, $amount, $project);
|
||
my ($onload);
|
||
my ($ARselected);
|
||
|
||
|
||
... | ... | |
qq|<script type="text/javascript" src="js/show_vc_details.js"></script>| .
|
||
qq|<script type="text/javascript" src="js/follow_up.js"></script>|;
|
||
|
||
$onload = qq|focus()|;
|
||
|
||
# $amount = $locale->text('Amount');
|
||
# $project = $locale->text('Project');
|
||
|
||
... | ... | |
project_labels => \%project_labels,
|
||
rows => $rows,
|
||
ARselected => $ARselected,
|
||
onload => $onload,
|
||
title_str => $title,
|
||
follow_up_trans_info => $follow_up_trans_info,
|
||
});
|
||
... | ... | |
my $cgi = $::request->{cgi};
|
||
|
||
my ($customer, $department);
|
||
my ($jsscript, $button1, $button2, $onload);
|
||
my ($jsscript, $button1, $button2);
|
||
|
||
# setup customer selection
|
||
$form->all_vc(\%myconfig, "customer", "AR");
|
bin/mozilla/ca.pl | ||
---|---|---|
|
||
$::form->{title} = $::locale->text('List Transactions') . " - " . $::locale->text('Account') . " $::form->{accno}";
|
||
|
||
my $onload = qq|focus()|;
|
||
|
||
$::form->header;
|
||
print $::form->parse_html_template('ca/list', {
|
||
onload => $onload,
|
||
year => DateTime->today->year,
|
||
cash => $::instance_conf->get_accounting_method eq 'cash',
|
||
});
|
bin/mozilla/cp.pl | ||
---|---|---|
$auth->assert('cash');
|
||
|
||
my ($vc, $arap, $exchangerate);
|
||
my ($onload);
|
||
|
||
if ($form->{ $form->{vc} } eq "") {
|
||
map { $form->{"addr$_"} = "" } (1 .. 4);
|
||
... | ... | |
$form->header;
|
||
|
||
$arap = lc $form->{ARAP};
|
||
$onload = qq|focus()|;
|
||
|
||
print $::form->parse_html_template('cp/form_header', {
|
||
is_customer => $form->{vc} eq 'customer',
|
||
is_receipt => $form->{type} eq 'receipt',
|
||
onload => $onload,
|
||
arap => $arap,
|
||
vccontent => $vc,
|
||
});
|
bin/mozilla/dn.pl | ||
---|---|---|
|
||
$form->header();
|
||
|
||
$form->{onload} = qq|focus()|;
|
||
|
||
print $form->parse_html_template("dunning/search");
|
||
|
||
$main::lxdebug->leave_sub();
|
bin/mozilla/gl.pl | ||
---|---|---|
);
|
||
$::form->{ALL_EMPLOYEES} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]);
|
||
|
||
my $onload = "focus()";
|
||
|
||
$::form->header;
|
||
print $::form->parse_html_template('gl/search', {
|
||
onload => $onload,
|
||
department_label => sub { ("$_[0]{description}--$_[0]{id}")x2 },
|
||
employee_label => sub { "$_[0]{id}--$_[0]{name}" },
|
||
});
|
bin/mozilla/rp.pl | ||
---|---|---|
|
||
$::form->get_lists("projects" => { "key" => "ALL_PROJECTS", "all" => 1 });
|
||
|
||
my $onload = qq|focus()|;
|
||
|
||
my $is_projects = $::form->{report} eq "projects";
|
||
my $is_income_statement = $::form->{report} eq "income_statement";
|
||
my $is_bwa = $::form->{report} eq "bwa";
|
||
... | ... | |
vc => $vc,
|
||
label => $label,
|
||
year => DateTime->today->year,
|
||
onload => $onload,
|
||
nextsub => $nextsub,
|
||
accrual => $::instance_conf->get_accounting_method ne 'cash',
|
||
cash => $::instance_conf->get_accounting_method eq 'cash',
|
bin/mozilla/wh.pl | ||
---|---|---|
$form->{jsscript} = 1;
|
||
|
||
# $form->{fokus} = "partnumber";
|
||
# $form->{onload} .= "focus();";
|
||
$form->{title} = $locale->text("Report about warehouse contents");
|
||
|
||
$form->header();
|
templates/webpages/ap/search.html | ||
---|---|---|
<br>
|
||
<input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
|
||
</form>
|
||
<script type="text/javascript">
|
||
<!--
|
||
$(document).ready(function(){
|
||
focus();
|
||
})
|
||
//-->
|
||
</script>
|
templates/webpages/gl/form_header.html | ||
---|---|---|
[%- USE LxERP %]
|
||
[%- USE T8 %]
|
||
[%- USE L %]
|
||
<body onLoad="focus()">
|
||
|
||
<script type="text/javascript">
|
||
<!--
|
||
function setTaxkey(row) {
|
templates/webpages/ir/form_header.html | ||
---|---|---|
[% IF creditwarning != '' %]
|
||
alert('[% 'Credit Limit exceeded!!!' | $T8 %]');
|
||
[% ELSE %]
|
||
focus();
|
||
[% END %]
|
||
});
|
||
function set_duedate() {
|
templates/webpages/is/form_header.html | ||
---|---|---|
[% ELSIF creditwarning != '' %]
|
||
alert('[% 'Credit Limit exceeded!!!' | $T8 %]');
|
||
[% ELSE %]
|
||
focus();
|
||
[% END %]
|
||
});
|
||
function set_duedate() {
|
Auch abrufbar als: Unified diff
Aufrufe von focus() entfernt.
Diese Funktion ist die interne javascript focus Funktion, die ohne Argument garkeinen Sinn macht. Die Lx-Office Version heisst fokus.