[TYPO3-core] FYI: Fixed bug #7781: Constant Editor changes not saved in Internet Explorer

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Mar 17 16:11:11 CET 2008


Hi!

Jeff Segars wrote:
> Problem:
> Constant Editor changes are not saved in Internet Explorer
> 
> Solution:
> The underlying problem is that the button to save constants was changed 
> from a regular input type=submit to an input type=image as part of the 
> docheader improvements. The Constants Editor checks for a particular 
> POST variable to make sure that a submit occurred, but while IE sends 
> the variable for input type=submit, it does not send the variable for 
> input type=image. The one line change checks for the submit_x and 
> submit_y coordinates, which IE does send when the save button is clicked.

+			if (t3lib_div::_POST("submit") || (t3lib_div::_POST("submit_x") && t3lib_div::_POST("submit_y")))	{

Two problems:
- double quotes must be changes to single quotes.
- this will not work if user clicks in the upper-left point of the button.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-team-core mailing list