Hi,
I use the following code (more or less) to build dialog on the page.
It works well on 1.3.6 but with 1.4 I see that content loaded via 'refresh' is located behind "toolbar" and "buttons".
In case if I load very long text via 'refresh' scrollbar appears but 'up' and 'down' buttons could not be seen because of "toolbar" and "buttons" panels.
function showDataToAccept(winTitle,id){
var mytime=new Date().getTime();
$('#importDataViewer').dialog({
title:winTitle,
width:1000,
height:550,
maximizable:true,
resizable:true,
closed:true,
toolbar:[{
text:'Accept',
iconCls:'icon-ok',
handler:function(){
// todo
}
},{
text:'Remove',
iconCls:'icon-cancel',
handler:function(){
// todo
}
}
],
buttons:[{
text:'Cancel',
handler:function(){
$('#importDataViewer').dialog('close');
}
}
]
});
$('#importDataViewer').dialog('refresh','ui/mypage.php&id='+id);
$('#importDataViewer').dialog('open');
}