Difference between revisions of "JavaScript closeDialog Sample"

From LongJump Support Wiki
imported>Aeric
(Created page with ":<syntaxhighlight lang="javascript" enclose="div"> function closeDialog() { if ( $.browser.msie ) { top.lj_closeDialog() top.lj_refreshCurrentTab(); …")
 
imported>Aeric
 
(No difference)

Latest revision as of 18:45, 7 October 2011

function closeDialog()
{
    if ( $.browser.msie ) 
    { 
        top.lj_closeDialog()
        top.lj_refreshCurrentTab();
    }
    else
    {
        top.getActiveTabWindow().lj_refreshTab();
        top.lj_closeDialog();
    }
}