[TYPO3-core] FYI #17281: "Select files" in FlashUploader works only on the second click in Firefox / position: value of ExtJS button changes on click

Steffen Gebert steffen at steffen-gebert.de
Tue Jan 25 01:54:58 CET 2011


Hi!

The following changes have been committed to trunk in rev 10290 after RM 
approval.

Type: Bugfix

Bugtracker reference:
http://bugs.typo3.org/view.php?id=17281

Branches:
trunk

Problem:
1) .x-btn-click (ExtJS button on click) has position: relative, whilst 
.x-btn (normal button) has no value for position.

2) In Firefox, the FlashUploader doesn't open after clicking "Select 
Files" for the first time. It always works on the second click.

Solution:
Move position: relative to .x-btn, as it otherwise seems to confuse 
ExtJS, if the positioning changes after rendering. Steffen also 
confirmed this issue with some EM buttons.

Note:
Elaboration of the problem has been done in #16176.
Intention of adding this was to get a "clicked" state of buttons: 
together with position: relative, top: 1px and left: 1px was defined to 
give the visual impression of a button click. This is still the case 
with shifting the definition around.

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17281_v2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110125/d22e8faa/attachment.txt>


More information about the TYPO3-team-core mailing list