[TYPO3-core] RFC #7123: Bug: select wizard doesn't work in Safari
Ismaël Bidau
bidau at ensci.com
Fri Jan 9 16:50:18 CET 2009
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=7123
Branches:
TYPO3_4-1, TYPO3_4-2 and trunk
Problem:
It's "select wizard" related in Webkit based browsers : When you do a
choice in the select box, the value is transfered to the input text but
the value is lost when you click anywhere on the page.
The problem is Safari fire onchange event anytime the selection changes
after being focused. So when you change the selectedIndex from within
the onchange handler, it will have focus and hence fire again.
Solution:
To workaround the problem, you can tell the dropdown to blur itself
before changing the index. This will prevent it from firing the onchange
again.
Notes:
Thank you Benni for your help. Hope this RFC is better now :)
Ismaël Bidau
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0007123.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090109/ca59a62d/attachment.txt
More information about the TYPO3-team-core
mailing list