Remove types for setScript calls, add setCss, which is shorthand for setLink with the CSS specific params preset.

This commit is contained in:
Colin Kuskie 2010-09-24 08:02:17 -07:00
parent 17d9deb085
commit 1f42a0a24e
50 changed files with 159 additions and 173 deletions

View file

@ -177,7 +177,7 @@ Sets the JS for this form plugin
sub headTags {
my $self = shift;
my $session = $self->session;
$session->style->setScript($session->url->extras("yui-webgui/build/form/assetReportQuery.js"),{ type=>"text/javascript" });
$session->style->setScript($session->url->extras("yui-webgui/build/form/assetReportQuery.js"));
}
#-------------------------------------------------------------------