diff --git a/mail/inc/class.mail_sieve.inc.php b/mail/inc/class.mail_sieve.inc.php index c6d86057db..319d6e7aa8 100644 --- a/mail/inc/class.mail_sieve.inc.php +++ b/mail/inc/class.mail_sieve.inc.php @@ -357,8 +357,7 @@ class mail_sieve $this->ajax_action($button, $ruleID, $msg); case 'cancel': - $js = 'window.close();'; - echo "\n\n\n\n\n"; + egw_framework::window_close(); common::egw_exit(); } }