-
6 Mar 2011 12:51 PM #1
[FIXED][PR3] Disabled css is not set on button (when disabled)
[FIXED][PR3] Disabled css is not set on button (when disabled)
When using an button in a toolbar and setting it "disabled: true", the button does not 'light up' when hovered over and is not pressable (as I expect), however it's disabled (grey) state is not displayed (as I didn't expect)
In Firefox 3.6.14 & Chromium 9.0.597.107 (75357)
On Ubuntu 10.10
Code:Ext.define('wjv.MainToolbar', { extend: 'Ext.Toolbar', initComponent: function() { Ext.apply(this, { id: 'main-toolbar', items: [{ cls: 'x-btn-text-icon', handler: function() { Ext.getCmp('panel-container').setContained(new wjv.LocationsGrid({})); }, icon: 'images/icons/building.png', text: 'Locaties', xtype: 'button' }, '|', { cls: 'x-btn-text-icon', icon: 'images/icons/user.png', text: 'Bewoners', xtype: 'button' }, '|', { cls: 'x-btn-text-icon', icon: 'images/icons/user_red.png', text: 'Gebruikers', xtype: 'button' }, '->', { cls: 'x-btn-text-icon', icon: 'images/icons/help.png', text: 'Help', xtype: 'button' }, '|', { cls: 'x-btn-text-icon', disabled: true, icon: 'images/icons/logout.png', text: 'Uitloggen', xtype: 'button' }] }); wjv.MainToolbar.superclass.initComponent.apply(this, arguments); } }); var menuBar = new wjv.MainToolbar({ renderTo: 'main-toolbar' });
-
6 Mar 2011 8:15 PM #2
Will take a look, thanks.
-
7 Mar 2011 1:34 PM #3
Two (maybe) usefull addenda
Two (maybe) usefull addenda
I just found out:
- The issue didnt exist yet in PR2
- The issue doesnt exist in IE8 (8.0.7600.16385)
-
7 Mar 2011 1:40 PM #4
I've fixed this today.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-735] Wrong Disabled Refresh Button on a disabled paging toolbar
By dtex-lab in forum Ext 3.x: BugsReplies: 1Last Post: 28 May 2010, 4:27 PM -
[FIXED-789][3.2 rc1] IE - disabled radio button in RadioGroup
By squ3lch in forum Ext 3.x: BugsReplies: 4Last Post: 29 Mar 2010, 4:28 PM -
[FIXED] [2.0-RC1] Rendering disabled button on IE
By mtarantini in forum Ext GWT: Bugs (2.x)Replies: 1Last Post: 29 Jun 2009, 6:45 AM -
[FIXED] [2.0M3]Rendering disabled button on IE
By xalvaro in forum Ext GWT: Bugs (2.x)Replies: 5Last Post: 26 Jun 2009, 12:05 AM


Reply With Quote