summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorJohnDoh <roundcube@tehinterweb.co.uk>2013-12-07 13:39:55 +0000
committerJohnDoh <roundcube@tehinterweb.co.uk>2013-12-07 13:39:55 +0000
commit9a8873270f5505327e832560ddadec56e25e7624 (patch)
tree400ced01e3cea2b1b444a8c84b10fdcc9fa700da /program
parentc50eee4827da18cd4517decfe521e8a32638069b (diff)
trigger insertrow JS event from compose screen address book widget
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index ac06df6d6..bba796f20 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -313,6 +313,7 @@ function rcube_webmail()
if (this.gui_objects.contactslist) {
this.contact_list = new rcube_list_widget(this.gui_objects.contactslist,
{ multiselect:true, draggable:false, keyboard:false });
+ this.contact_list.row_init = function(row){ p.triggerEvent('insertrow', { cid:row.uid, row:row }); };
this.contact_list.addEventListener('select', function(o){ ref.compose_recipient_select(o); });
this.contact_list.addEventListener('dblclick', function(o){ ref.compose_add_recipient('to'); });
this.contact_list.init();