diff options
author | thomascube <thomas@roundcube.net> | 2005-10-13 21:53:33 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2005-10-13 21:53:33 +0000 |
commit | 09941ea763db08c7b13263fae68cf6eb01bc7bcf (patch) | |
tree | 158f7699ff5d66f13b94b4f9e7effd5d0a51841e /program/steps/mail/move_del.inc | |
parent | 520c36aa4c24ad3424b8fa3137b7576e6eacaf14 (diff) |
Some error messages added
Diffstat (limited to 'program/steps/mail/move_del.inc')
-rw-r--r-- | program/steps/mail/move_del.inc | 6 |
1 files changed, 6 insertions, 0 deletions
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; } } |