Fixed bug #9836: RTE TSconfig lost when uploading files or creating folders
authorSteffen Kamper <info@sk-typo3.de>
Wed, 10 Dec 2008 21:45:12 +0000 (21:45 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Wed, 10 Dec 2008 21:45:12 +0000 (21:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@4547 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php

index 434b475..e14fa06 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-10  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #9836: RTE TSconfig lost when uploading files or creating folders
+
 2008-12-09  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug: Typing error in tslib_content ($gifCreateor => $gifCreator)
index 957c40a..eb98412 100644 (file)
@@ -886,7 +886,7 @@ class tx_rtehtmlarea_select_image extends browse_links {
                }
 
                        // Make footer of upload form, including the submit button:
-               $redirectValue = $this->thisScript.'?act='.$this->act.'&editorNo='.$this->editorNo.'&mode='.$this->mode.'&expandFolder='.rawurlencode($path).'&bparams='.rawurlencode($this->bparams);
+               $redirectValue = $this->thisScript.'?act='.$this->act.'&editorNo='.$this->editorNo.'&mode='.$this->mode.'&expandFolder='.rawurlencode($path).'&bparams='.rawurlencode($this->bparams).'&RTEtsConfigParams='.rawurlencode(t3lib_div::_GP('RTEtsConfigParams'));
                $code.='<input type="hidden" name="redirect" value="'.htmlspecialchars($redirectValue).'" />'.
                                '<input type="submit" name="submit" value="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_upload.php.submit',1).'" />';
 
@@ -940,7 +940,7 @@ class tx_rtehtmlarea_select_image extends browse_links {
                                '<input type="hidden" name="file[newfolder]['.$a.'][target]" value="'.htmlspecialchars($path).'" />';
 
                        // Make footer of upload form, including the submit button:
-               $redirectValue = $this->thisScript.'?act='.$this->act.'&editorNo='.$this->editorNo.'&mode='.$this->mode.'&expandFolder='.rawurlencode($path).'&bparams='.rawurlencode($this->bparams);
+               $redirectValue = $this->thisScript.'?act='.$this->act.'&editorNo='.$this->editorNo.'&mode='.$this->mode.'&expandFolder='.rawurlencode($path).'&bparams='.rawurlencode($this->bparams).'&RTEtsConfigParams='.rawurlencode(t3lib_div::_GP('RTEtsConfigParams'));
                $code.='<input type="hidden" name="redirect" value="'.htmlspecialchars($redirectValue).'" />'.
                                '<input type="submit" name="submit" value="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.submit',1).'" />';
 
@@ -1071,4 +1071,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtml
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php']);
 }
 
-?>
\ No newline at end of file
+?>