PDA

View Full Version : [FIXED] Image set to disabled throws error in IE8



dfritsch86
24 Oct 2013, 11:26 PM
Ext version tested:

Ext 4.2.1 rev



Browser versions tested against:

IE8


Description:

When creating an image as an item of a panel, and settings its disabled property to true, IE8 throws an error



Steps to reproduce the problem:

create a panel with an image set to disabled:true



The result that was expected:

image is shown



The result that occurs instead:

IE8 throws an error



Code:

Fiddle (cannot test in IE8 as fiddle itself causes error) https://fiddle.sencha.com/#fiddle/167
Code template:


{
xtype: 'panel',
items: [{
xtype: 'image',
disabled: true
}]
}

Gary Schlosberg
25 Oct 2013, 8:45 AM
Thanks for the report! I have opened a bug in our bug tracker.

dfritsch86
26 Oct 2013, 7:10 AM
Cool, thanks.
As a workaround i used a class which i remove and add instead of (dis)enabling the image,
but having to check the class upon each click is a bit hacky for a workaround :)