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/move_del.inc | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index 5078fb0..4f52a60 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -43,6 +43,9 @@ $OUTPUT->send(); exit; } + else { + $OUTPUT->show_message('messagemoved', 'confirmation'); + } $addrows = true; } @@ -52,7 +55,7 @@ $mbox = get_input_value('_mbox', RCUBE_INPUT_POST); $del = $IMAP->delete_message($uids, $mbox); - + if (!$del) { // send error message if ($_POST['_from'] != 'show') @@ -61,7 +64,10 @@ $OUTPUT->send(); exit; } - + else { + $OUTPUT->show_message('messagedeleted', 'confirmation'); + } + $addrows = true; } // unknown action or missing query param -- Gitblit v1.9.1