diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index ed8557461..8fa5cb22f 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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. diff --git a/lib/WebGUI/Form/Textarea.pm b/lib/WebGUI/Form/Textarea.pm index f3de5d977..ded05ad35 100644 --- a/lib/WebGUI/Form/Textarea.pm +++ b/lib/WebGUI/Form/Textarea.pm @@ -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' ),