From a6b3fb95c07df4aa3bc377c1c64f811a0cddc406 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 9 Oct 2013 17:20:14 +0000 Subject: [PATCH] Remove inline script from mail->sieve->edit() --- mail/inc/class.mail_sieve.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); } }