Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it.
This commit is contained in:
parent
808f38b2a6
commit
3fbc109429
53 changed files with 254 additions and 352 deletions
|
|
@ -1234,7 +1234,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->setScript($self->session->url->extras('tabs/tabs.js'), {"type"=>"text/javascript"});
|
||||
$self->session->style->setScript($self->session->url->extras('tabs/tabs.js'));
|
||||
my $templateId = $self->templateId;
|
||||
my $template = WebGUI::Asset::Template->newById($self->session, $templateId);
|
||||
if (!$template) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue