From 9a8873270f5505327e832560ddadec56e25e7624 Mon Sep 17 00:00:00 2001 From: JohnDoh Date: Sat, 7 Dec 2013 13:39:55 +0000 Subject: [PATCH] trigger insertrow JS event from compose screen address book widget --- program/js/app.js | 1 + 1 file changed, 1 insertion(+) 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();