diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 351a55543..891738927 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -28,6 +28,7 @@ rough edges discussions in Community IRC. - fix: not set UTF-8 in setup page - fix: 6.99 nothing write to assetData.groupIdView & assetData.groupIdEdit + - fix: Insert A Link page has no head & body tags has no style 6.99.2 - fix - demo.plainblack.com getting started diff --git a/lib/WebGUI/Operation/FormHelpers.pm b/lib/WebGUI/Operation/FormHelpers.pm index b613ac82c..3cebf4735 100644 --- a/lib/WebGUI/Operation/FormHelpers.pm +++ b/lib/WebGUI/Operation/FormHelpers.pm @@ -45,8 +45,10 @@ sub www_formAssetTree { $url .= ";classLimiter=".$session->form->process("classLimiter","className") if ($session->form->process("classLimiter","className")); push(@crumb,''.$ancestor->get("menuTitle").''); } - my $output = ' -
+ my $output = ' + + + + |); + $session->style->setScript($session->url->extras('tinymce2/jscripts/tiny_mce/tiny_mce_popup.js'),{type=>"text/javascript"}); my $i18n = WebGUI::International->new($session); - my $f = WebGUI::HTMLForm->new($session,-action=>"#",-extras=>'name="linkchooser"'); + my $f = WebGUI::HTMLForm->new($session,-action=>"#"); $f->text( -name=>"url", -label=>$i18n->get(104), @@ -125,12 +157,11 @@ sub www_richEditPageTree { "_blank"=>$i18n->get('link in new window')}, ); $f->button( + -name=>"button", -value=>$i18n->get('done'), -extras=>'onclick="createLink()"' ); - $session->style->setScript($session->url->extras('tinymce2/jscripts/tiny_mce/tiny_mce_popup.js'),{type=>"text/javascript"}); - my $output = '