JavaScript closeDialog Sample

From LongJump Support Wiki
Revision as of 18:45, 7 October 2011 by imported>Aeric (moved Javascript closeDialog Sample to JavaScript closeDialog Sample)
(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();
    }
}