s/y+/yy/gi;
} $::myconfig{dateformat};
- return $self->render(
+ return $self->presenter->render(
'layout/javascript_setup',
- { type => 'js', output => 0, },
+ { type => 'js' },
datefmt => $datefmt,
focus => $::request->layout->focus,
ajax_spinner => 1,
sub use_javascript {
my $self = shift;
qw(
- js/jquery.js
- js/common.js
- js/namespace.js
+ jquery.js
+ common.js
+ namespace.js
+ jquery-ui.js
+ kivi.js
),
+ 'locale/'. $::myconfig{countrycode} .'.js',
$self->SUPER::use_javascript(@_);
}