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

@ -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' ),