From c50d8872ced7c09dd9fcf5b3bf460c31e5b0c0ce Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 03 Nov 2010 10:19:48 -0400 Subject: [PATCH] - Add missing confirmation/error messages on contact/group/message actions (#1486845) - Add 'loading' message on message move/copy/delete/mark actions --- program/steps/mail/copy.inc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/copy.inc b/program/steps/mail/copy.inc index b42ef39..ba5fa72 100644 --- a/program/steps/mail/copy.inc +++ b/program/steps/mail/copy.inc @@ -34,13 +34,16 @@ $mbox = get_input_value('_mbox', RCUBE_INPUT_POST); $copied = $IMAP->copy_message($uids, $target, $mbox); - + if (!$copied) { // send error message $OUTPUT->show_message('errorcopying', 'error'); $OUTPUT->send(); exit; } + else { + $OUTPUT->show_message('messagecopied', 'confirmation'); + } rcmail_send_unread_count($target, true); -- Gitblit v1.9.1