Index: trunk/core/kernel/application.php =================================================================== diff -u -r3664 -r3685 --- trunk/core/kernel/application.php (.../application.php) (revision 3664) +++ trunk/core/kernel/application.php (.../application.php) (revision 3685) @@ -792,6 +792,11 @@ $this->SetVar('m_opener', 'p'); } + if ($t == 'incs/close_popup') { + // because this template closes the popup and we don't need popup mark here anymore + $params['m_opener'] = 's'; + } + if( substr($t, -4) == '.tpl' ) $t = substr($t, 0, strlen($t) - 4 ); if ( $this->IsAdmin() && $prefix == '') $prefix = '/admin';