From 8d095d04e02eb8768950a7e05619caafbe3bbf40 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 22 Apr 2010 13:39:13 +0000 Subject: - fix dublicated 'show' action after contact creation git-svn-id: https://svn.roundcube.net/trunk@3536 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/addressbook/save.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/addressbook/save.inc b/roundcubemail/program/steps/addressbook/save.inc index b28294eea..168d995a1 100644 --- a/roundcubemail/program/steps/addressbook/save.inc +++ b/roundcubemail/program/steps/addressbook/save.inc @@ -93,7 +93,7 @@ else { // check for existing contacts $existing = $CONTACTS->search('email', $a_record['email'], true, false); - + // show warning message if ($existing->count) { @@ -121,8 +121,7 @@ else // show confirmation $OUTPUT->show_message('successfullysaved', 'confirmation', null, false); - rcmail_overwrite_action('show'); - $_GET['_cid'] = $insert_id; + $OUTPUT->send('iframe'); } else { -- cgit v1.2.3