diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-02 15:27:46 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-02 15:27:46 +0000 |
| commit | 530c964d88c744f36a67e0ccce53b23a6735c6b4 (patch) | |
| tree | 8c004899b74ca3442eb11f5c64fd9704ae2e9321 /roundcubemail/program/steps/addressbook/save.inc | |
| parent | eccfeed034824cd659a5a175ba4246718f3ba03c (diff) | |
- Added addressbook source selector in contact create form
git-svn-id: https://svn.roundcube.net/trunk@4901 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook/save.inc')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/save.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/addressbook/save.inc b/roundcubemail/program/steps/addressbook/save.inc index 19d8f8c7d..e1986efeb 100644 --- a/roundcubemail/program/steps/addressbook/save.inc +++ b/roundcubemail/program/steps/addressbook/save.inc @@ -24,6 +24,12 @@ $cid = get_input_value('_cid', RCUBE_INPUT_POST); $return_action = empty($cid) ? 'add' : 'edit'; +// Source changed, display the form again +if (!empty($_GET['_reload'])) { + rcmail_overwrite_action($return_action); + return; +} + // cannot edit record if ($CONTACTS->readonly) { $OUTPUT->show_message('contactreadonly', 'error'); |
