diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-12-23 02:59:20 -0800 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-12-23 02:59:20 -0800 |
commit | b3c034ce300416312df033ea9114b20874ab478c (patch) | |
tree | fa48b897460f22be813e1a2cb7d3373b909aabe1 /program/js | |
parent | ac0fc383fd43e8955b0ab22f70463159b14c74b0 (diff) | |
parent | 9a8873270f5505327e832560ddadec56e25e7624 (diff) |
Merge pull request #157 from JohnDoh/trigger-insertrow
trigger insertrow JS event from compose screen address book widget
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js index a001a3bff..4c9b11a1f 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(); |