summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-22 13:39:13 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-22 13:39:13 +0000
commit8d095d04e02eb8768950a7e05619caafbe3bbf40 (patch)
treede5f8f1228ef60ad36a9d3a3db66fbb6f9387494 /roundcubemail/program
parent8c6e04698284f8e665868bffbcd550cb08a6c625 (diff)
- fix dublicated 'show' action after contact creation
git-svn-id: https://svn.roundcube.net/trunk@3536 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/addressbook/save.inc5
1 files changed, 2 insertions, 3 deletions
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
{