summaryrefslogtreecommitdiff
path: root/program/steps/mail/move_del.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-13 21:53:33 +0000
committerthomascube <thomas@roundcube.net>2005-10-13 21:53:33 +0000
commit09941ea763db08c7b13263fae68cf6eb01bc7bcf (patch)
tree158f7699ff5d66f13b94b4f9e7effd5d0a51841e /program/steps/mail/move_del.inc
parent520c36aa4c24ad3424b8fa3137b7576e6eacaf14 (diff)
Some error messages added
Diffstat (limited to 'program/steps/mail/move_del.inc')
-rw-r--r--program/steps/mail/move_del.inc6
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;
}
}