PDA

View Full Version : [FIXED-261][3.x]CycleButton menu not drawn



qooleot
24 Sep 2009, 12:09 PM
Ext version tested:


Ext 3. rev 5322



Adapter used:


jquery



css used:


only default ext-all.css



Browser versions tested against:


FF3


Description:


Take a basic cyclebutton example and refresh the page. Then click on the left part of the button and have it cycle once. Then click on the right part (to open the pulldown). The menu does not draw. Refresh the page and click on the right menu first and it draws (and the cycling works too).



Test Case:


<script type="text/javascript">

Ext.onReady(function(){

Ext.BLANK_IMAGE_URL = 'images/s.gif';
Ext.QuickTips.init();

var btn = new Ext.CycleButton({
renderTo: 'foo',
showText: true,
prependText: 'View as ',
items: [{
text:'text only',
iconCls:'view-text',
checked:true
},{
text:'HTML',
iconCls:'view-html'
}],
changeHandler:function(btn, item){
// Ext.Msg.alert('Change View', item.text);
}
});

});
</script>

<div id=foo></div>

evant
24 Sep 2009, 5:38 PM
Fix applied to svn in rev #5404 for patch release 3.0.3.