Index: branches/unlabeled/unlabeled-1.1.2/core/admin_templates/incs/close_popup.tpl =================================================================== diff -u -r6906 -r6923 --- branches/unlabeled/unlabeled-1.1.2/core/admin_templates/incs/close_popup.tpl (.../close_popup.tpl) (revision 6906) +++ branches/unlabeled/unlabeled-1.1.2/core/admin_templates/incs/close_popup.tpl (.../close_popup.tpl) (revision 6923) @@ -13,18 +13,27 @@ proceed_redirect(); } + function isset(variable) + { + if(variable == null) return false; + return (typeof(variable) == 'undefined') ? false : true; + } + function proceed_redirect() { if (window.opener) { // using popups & close_popup called (from anywhere) try { // parent window is ours - window.opener.location.href = $redirect_url.replace('%5C', '\\'); + var $skip_refresh = isset(window.opener.$skip_refresh) && window.opener.$skip_refresh ? true : false; + if (!$skip_refresh) { + window.opener.location.href = $redirect_url.replace('%5C', '\\'); + } window.close(); window.opener.focus(); } catch (err) { // another website is opened in parent window -// alert('proceed_redirect.Error: [' + err.description + ']'); + alert('proceed_redirect.Error: [' + err.description + ']'); } } else if (!$use_popups) {