mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
close now simply hides the panel
This commit is contained in:
@@ -76,7 +76,9 @@ void PanelRenderer::renderHead(const Renderable* pRenderable, const RenderContex
|
|||||||
if (pPanel->getModal())
|
if (pPanel->getModal())
|
||||||
ostr << ",modal:true";
|
ostr << ",modal:true";
|
||||||
if (!pPanel->hasCloseIcon())
|
if (!pPanel->hasCloseIcon())
|
||||||
ostr << ",closable:false";
|
ostr << ",closable:false";
|
||||||
|
else
|
||||||
|
ostr << ",closeAction:'hide'";
|
||||||
if (pPanel->isVisible())
|
if (pPanel->isVisible())
|
||||||
ostr << ",renderTo:Ext.getBody()";
|
ostr << ",renderTo:Ext.getBody()";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user