Fixed bug #7509: TypoScript Editor doesn't save changes in IE
authorJeff Segars <jsegars@alumni.rice.edu>
Wed, 21 May 2008 15:46:12 +0000 (15:46 +0000)
committerJeff Segars <jsegars@alumni.rice.edu>
Wed, 21 May 2008 15:46:12 +0000 (15:46 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3674 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php

index 9eedbdb..f8e4fb5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-21  Jeff Segars  <jeff@webempoweredchurch.org>
+
+       * Fixed bug #7509: TypoScript Editor doesn't save changes in IE
+
 2008-05-20  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fixed bug #8263: t3editor should not highlight decimals (thanks to Tobias Liebig)
index 4975653..ec4cff0 100644 (file)
@@ -189,7 +189,7 @@ class tx_tstemplateinfo extends t3lib_extobjbase {
 
                                // Update template ?
                        $POST = t3lib_div::_POST();
-                       if ($POST['submit'])    {
+                       if ($POST['submit'] || (t3lib_div::testInt($POST['submit_x']) && t3lib_div::testInt($POST['submit_y']))) {
                                require_once(PATH_t3lib.'class.t3lib_tcemain.php');
                                        // Set the data to be saved
                                $recData = array();
@@ -334,7 +334,7 @@ class tx_tstemplateinfo extends t3lib_extobjbase {
                        $numberOfRows = 35;
 
                                // If abort pressed, nothing should be edited:
-                       if (t3lib_div::_POST('abort')) {
+                       if ($POST['abort'] || (t3lib_div::testInt($POST['abort_x']) && t3lib_div::testInt($POST['abort_y']))) {
                                unset($e);
                        }