PDA

View Full Version : http://docs.sencha.com/ext-js/4-0/#!/example/view/chooser/chooser.html Bug or not?



Romick
27 Dec 2011, 4:23 AM
Hello Gyry
On the examples page i click
http://docs.sencha.com/ext-js/4-0/#!/example/view/chooser/chooser.html
there i can't change Sort By combobox. It is always set to 'Type'. It works fine on IE9, FF, etc., but not in IE6, IE7, IE8. Is there some fix, becouse combobox is critical component on html page.

mitchellsimoens
27 Dec 2011, 7:35 AM
There seems to be an erroneous '/' in the comment that IE6 does not like. The example is provided in the downloaded zip file and it works when I run it locally. The list for the combobox isn't positioned correctly (at the top-left of screen) but you can still select an option and the images will move.

4.1.0 beta1 has fixed this list positioning bug.

Romick
27 Dec 2011, 1:35 PM
Can you tell me when 4.1.0 beta 1 will be released? Thank you for the answer.

mitchellsimoens
27 Dec 2011, 1:39 PM
It was released last Friday. There is an announcement and a sticky forum thread that announced it.

Romick
28 Dec 2011, 4:01 AM
I have update to 4.1.0 beta 1 beta and have the follloving in IE8 and FF on this example.
3032330324

Can you tell me where exactly is that "erroneous '/' in the comment that IE6 does not like"? I would apreciate for you help.

mitchellsimoens
28 Dec 2011, 5:23 AM
In the block comment on line 16, there is '/*' which should just be '*'

Romick
30 Dec 2011, 7:02 AM
I can't find line 16 anywhere. But i found a solution here
http://www.sencha.com/forum/showthread.php?152001-4.0.7-ComboBox-list-position-Incorrect-in-IE7
That was what i realy whant to fix in my 4.0.7 but not in beta 4.1.0
As mentioned fix is ovveride setHiddenValue:

Bug was in line


me.hiddenDataEl.update(Ext.DomHelper.markup({tag:'input', type:'hidden', name:me.name}));
fixing replacing it by

me.hiddenDataEl.update(Ext.DomHelper.markup({tag:'input', type:'hidden', name:me.name + "-hidden"}));

But not in coment issue with '/*'