PDA

View Full Version : FF - select field disapeared after closing



TTrek
22 Feb 2007, 8:48 AM
Hi,

i've got a problem using Ext.LayoutDialog. I open a dialog using click handler.
http://www.pixelexpect.com/uploads/Aufzeichnen.JPG

After closing the dialog, the select fields on the page disapear.
http://www.pixelexpect.com/uploads/Aufzeichnen2.JPG

The pagesouce shows the select code and firebug, too.
What else can i do instead of reloading the page after closing the dialog?

Thanks!

tryanDLS
22 Feb 2007, 8:58 AM
Is this occurring with the lastest alpha build? What ver of FF? Does it also happen if you have a BasicDialog over your input field?

TTrek
22 Feb 2007, 9:11 AM
Hi,

yes alpha1-rev9, ff 2.0. it's a LayoutDialog...


dialog = new Ext.LayoutDialog("f-dlg", {
modal:true,
width:800,
height:600,
shadow:true,
minWidth:300,
minHeight:300,
center: {
autoScroll:true,
tabPosition: 'top',
closeOnTab: true,
alwaysShowTabs: false
}
});
dialog.addKeyListener(27, dialog.hide, dialog);
// dialog.addButton('Submit', dialog.hide, dialog);
dialog.addButton('Close', dialog.hide, dialog);

var layout = dialog.getLayout();
layout.beginUpdate();

layout.add('center', new Ext.ContentPanel('topic-grid', {
fitToFrame:true,
autoScroll:true,
autoCreate:true
}));

tryanDLS
22 Feb 2007, 9:37 AM
OK, I confirmed this occurs with modal:true, but not modal:false. It doesn't seem to be affected by shim, shadow, or proxyDrag However it only seems to affect SELECT, not INPUT tags. And it happens in IE and FF.

TTrek
22 Feb 2007, 9:51 AM
okay thanks, changed temporarily to modal:false - i hope there will be another solution ...