From 09941ea763db08c7b13263fae68cf6eb01bc7bcf Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 13 Oct 2005 21:53:33 +0000 Subject: Some error messages added --- program/steps/mail/move_del.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'program/steps/mail/move_del.inc') diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index 4972478f1..20d46e37d 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -30,6 +30,9 @@ if ($_action=='moveto' && $_GET['_uid'] && $_GET['_target_mbox']) if (!$moved) { // send error message + $commands = "this.list_mailbox();\n"; + $commands .= show_message('errormoving', 'error'); + rcube_remote_response($commands); exit; } } @@ -43,6 +46,9 @@ else if ($_action=='delete' && $_GET['_uid']) if (!$del) { // send error message + $commands = "this.list_mailbox();\n"; + $commands .= show_message('errordeleting', 'error'); + rcube_remote_response($commands); exit; } } -- cgit v1.2.3