Let vacation popup window stays open if there is an error while saving

This commit is contained in:
Hadi Nategh 2014-05-02 14:39:49 +00:00
parent aa4128ad6e
commit 3bf554b986

View File

@ -626,7 +626,7 @@ class mail_sieve
$response = egw_json_response::get(); $response = egw_json_response::get();
$response->call('app.mail.mail_callRefreshVacationNotice',$this->mailbo->profileID); $response->call('app.mail.mail_callRefreshVacationNotice',$this->mailbo->profileID);
egw_framework::refresh_opener($msg, 'mail','edit'); egw_framework::refresh_opener($msg, 'mail','edit');
if ($button === 'apply') break; if ($button === 'apply' || $this->bosieve->error !=="") break;
} }
case 'cancel': case 'cancel':