Remove types for setScript calls, add setCss, which is shorthand for setLink with the CSS specific params preset.
This commit is contained in:
parent
17d9deb085
commit
1f42a0a24e
50 changed files with 159 additions and 173 deletions
|
|
@ -1289,7 +1289,7 @@ Prepare the template for the form mode of the template.
|
|||
|
||||
sub prepareViewForm {
|
||||
my $self = shift;
|
||||
$self->session->style->setLink($self->session->url->extras('tabs/tabs.css'), {"type"=>"text/css"});
|
||||
$self->session->style->setCss($self->session->url->extras('tabs/tabs.css'));
|
||||
$self->session->style->setScript($self->session->url->extras('tabs/tabs.js'));
|
||||
my $templateId = $self->templateId;
|
||||
my $template = WebGUI::Asset::Template->newById($self->session, $templateId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue