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
|
|
@ -215,7 +215,7 @@ sub www_show {
|
|||
}
|
||||
$session->http->setCacheControl("none");
|
||||
$style->setScript($url->extras("/AttachmentsControl/AttachmentsControl.js"));
|
||||
$style->setLink($url->extras("/AttachmentsControl/AttachmentsControl.css"), {type=>"text/css", rel=>"stylesheet"});
|
||||
$style->setCss($url->extras("/AttachmentsControl/AttachmentsControl.css"));
|
||||
my $uploadControl = '';
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
my $maxFiles = $form->param('maxAttachments') - scalar(@assetIds) ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue