JavaScript closeDialog Sample

From LongJump Support Wiki
Revision as of 20:33, 23 August 2011 by imported>Aeric (Created page with ":<syntaxhighlight lang="javascript" enclose="div"> function closeDialog() { if ( $.browser.msie ) { top.lj_closeDialog() top.lj_refreshCurrentTab(); …")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
function closeDialog()
{
    if ( $.browser.msie ) 
    { 
        top.lj_closeDialog()
        top.lj_refreshCurrentTab();
    }
    else
    {
        top.getActiveTabWindow().lj_refreshTab();
        top.lj_closeDialog();
    }
}