diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-08-01 12:20:10 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-08-01 12:20:10 +0000 |
| commit | 16fa4681bce4ad71236ca29a706600767ffc0a07 (patch) | |
| tree | 42ea1dfdc85a66455760dc6aa693fda7948d81c5 /roundcubemail/program/steps/addressbook/func.inc | |
| parent | de5fc0f8fffab2ce5e4104fdf436b10397c69338 (diff) | |
- Fixed contact photos upload, moved code to separate file for better performance
(to handle upload we don't need to initialize addressbook source)
git-svn-id: https://svn.roundcube.net/trunk@4999 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook/func.inc')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/func.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc index 6635d1338..6f01667f6 100644 --- a/roundcubemail/program/steps/addressbook/func.inc +++ b/roundcubemail/program/steps/addressbook/func.inc @@ -309,8 +309,9 @@ function rcmail_js_contacts_list($result, $prefix='') if ($val == '' && $col == 'name') { $val = rcube_addressbook::compose_display_name($row, true); } + $a_row_cols[$col] = Q($val); - } + } $OUTPUT->command($prefix.'add_contact_row', $row['ID'], $a_row_cols); } @@ -729,7 +730,6 @@ $OUTPUT->add_handlers(array( $RCMAIL->register_action_map(array( 'add' => 'edit.inc', 'photo' => 'show.inc', - 'upload-photo' => 'save.inc', 'group-create' => 'groups.inc', 'group-rename' => 'groups.inc', 'group-delete' => 'groups.inc', |
