summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/func.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-08-01 12:20:10 +0000
committeralecpl <alec@alec.pl>2011-08-01 12:20:10 +0000
commitb95149eb636f54cc6dff7fa37621524e20406133 (patch)
tree0955732006e605bc102681c81cc94145da06a56c /program/steps/addressbook/func.inc
parentf5e5702aa23e2c3b8b2b97a88e2d2918cccd1dbd (diff)
- Fixed contact photos upload, moved code to separate file for better performance
(to handle upload we don't need to initialize addressbook source)
Diffstat (limited to 'program/steps/addressbook/func.inc')
-rw-r--r--program/steps/addressbook/func.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index 6635d1338..6f01667f6 100644
--- a/program/steps/addressbook/func.inc
+++ b/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',