close now simply hides the panel

This commit is contained in:
Peter Schojer 2008-08-01 11:21:34 +00:00
parent a0ecc39893
commit 3cf2508145

View File

@ -76,7 +76,9 @@ void PanelRenderer::renderHead(const Renderable* pRenderable, const RenderContex
if (pPanel->getModal())
ostr << ",modal:true";
if (!pPanel->hasCloseIcon())
ostr << ",closable:false";
ostr << ",closable:false";
else
ostr << ",closeAction:'hide'";
if (pPanel->isVisible())
ostr << ",renderTo:Ext.getBody()";