Fix wrong attribute for script tag in Dataform.

This commit is contained in:
Colin Kuskie 2009-05-05 16:46:30 +00:00
parent 3dda2b49d4
commit a819c93944
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
- Added support for template attachments; scripts and stylesheets that will
be included using style->setScript and setLink instead of just using raw
head tags.
- fixed: #10322: Dataform: wrong attr on script tag
7.7.5
- Adding StoryManager.

View file

@ -153,7 +153,7 @@ sub toHtml {
# Add the maxlength script
$style->setScript(
$url->extras( 'yui/build/yahoo-dom-event/yahoo-dom-event.js' ),
{ text => 'text/javascript' },
{ type => 'text/javascript' },
);
$style->setScript(
$url->extras( 'yui-webgui/build/form/textarea.js' ),