summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-02-10 18:19:41 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-02-10 18:19:41 +0100
commitd94a710e7ab475fc3c6db6dfb815663f06978d58 (patch)
tree7a3b901add9cbe7e487820ad5af87dd31b83c9fa /program/js/app.js
parentd6185f3c91c2eff1befc14d61443de8a28ac92f5 (diff)
Trigger and forward 'listupdate' events from list.js
Diffstat (limited to 'program/js/app.js')
-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 57ef903eb..18baf8022 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -205,6 +205,7 @@ function rcube_webmail()
this.message_list.addEventListener('dragend', function(e){ p.drag_end(e); });
this.message_list.addEventListener('expandcollapse', function(e){ p.msglist_expand(e); });
this.message_list.addEventListener('column_replace', function(e){ p.msglist_set_coltypes(e); });
+ this.message_list.addEventListener('listupdate', function(e){ p.triggerEvent('listupdate', e); });
document.onmouseup = function(e){ return p.doc_mouse_up(e); };
this.gui_objects.messagelist.parentNode.onmousedown = function(e){ return p.click_on_list(e); };