Actions
Bug #24082
closedBug: missing CSS style for pressed buttons in ExtJS - no brain
Start date:
2010-11-16
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Problem:
========
With ExtJS it is possible to define a toggle button but unfortunately there are not styled applied to .x-btn-pressed and therefore it is not possible to see the difference with a non-pressed button.
ExtJS snippet:
{
pressed: false,
enableToggle: true,
text: TYPO3.Devlog.Language.auto_refresh,
cls: 'x-btn-text-icon reload',
toggleHandler: this.ontoggleautorefresh
}
Solution:
=========
Define a style for selector .x-btn-pressed. I suggest to use the same as .x-btn-over which is a straightforward approach as it makes the button appear "pressed".
(issue imported from #M16421)
Files
Actions