PDA

View Full Version : firefox 3.X strange bug



italoc
14 Sep 2009, 6:22 AM
i have a window panel with this code, and when the window panel is open all work ok, but if i try to navigate in the iframe in 3/4 of pages and close the window, after that the window can't be reopened... this bug is present only in firefox 3.X and if in the firefox installation is present FIREBUG all works great, but withotu FIREBUG nothing work.

can you help me?

thanks



function popupPoiUserGen() {


if (Ext.getCmp('poiusergenframe')) {
Ext.getCmp('poiusergenframe').setSrc(url);
}
else {
var poiUserGen = new Ext.Panel({
xtype: 'panel',
region: 'center',
margins: '0 0 0 0',
activeTab: 0,
id: 'poiusergen',
defaults: {
autoScroll: true
},
layout: 'fit',
defaultType: "iframepanel",
frame: false,
items: [{
id: 'poiusergenframe',
loadMask: {
msg: 'Caricamento in corso'
}
}]
});

var winPoiUserGen = new Ext.Window({
title: 'P.O.I. generati dagli utenti',
id: 'poiusergenwin',
closable: true,
modal: false,
width: 555,
height: document.documentElement.clientHeight - 50,
layout: 'border',
x: document.documentElement.clientWidth - 570,
items: [poiUserGen]
});

winPoiUserGen.show();

Ext.getCmp('poiusergenframe').setSrc(url);
}
Ext.getCmp('poiusergenwin').setPosition(document.documentElement.clientWidth - 570,15);
}