From e3cddec252962c208829dd62157fa5f289942b5e Mon Sep 17 00:00:00 2001 From: tof <> Date: Thu, 17 Jul 2008 08:45:08 +0000 Subject: Fixed #844 - Upgraded to TinyMCE 3.1.0.1 --- framework/Web/UI/WebControls/THtmlArea.php | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'framework/Web') diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php index 8145c9d3..109d000a 100644 --- a/framework/Web/UI/WebControls/THtmlArea.php +++ b/framework/Web/UI/WebControls/THtmlArea.php @@ -301,7 +301,6 @@ class THtmlArea extends TTextBox $this->loadJavascriptLibrary(); if($this->getEnableCompression()) $this->preLoadCompressedScript(); - $this->applyJavascriptFixes(); parent::addAttributesToRender($writer); } @@ -348,27 +347,6 @@ class THtmlArea extends TTextBox $scripts->registerScriptFile('prado:THtmlArea', $this->getScriptUrl()); } - /** - * Changes the TinyMCE triggerSave() function to allow for missing textareas. - */ - protected function applyJavascriptFixes() - { - $scripts = $this->getPage()->getClientScript(); - $js = <<isEndScriptRegistered('prado:THtmlArea:fix')) - $scripts->registerEndScript('prado:THtmlArea:fix', $js); - } - /** * Registers the editor javascript file and code to initialize the editor. */ @@ -434,7 +412,7 @@ EOD; //$options['theme_advanced_buttons2'] = ' '; $options['theme_advanced_buttons1'] = 'formatselect,fontselect,fontsizeselect,separator,bold,italic,underline,strikethrough,sub,sup'; $options['theme_advanced_buttons2'] = 'justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,outdent,indent,separator,forecolor,backcolor,separator,hr,link,unlink,image,charmap,separator,removeformat,code,help'; - $options['theme_advanced_buttons3'] = ' '; + $options['theme_advanced_buttons3'] = ''; $options['theme_advanced_toolbar_location'] = 'top'; $options['theme_advanced_toolbar_align'] = 'left'; -- cgit v1.2.3