diff options
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 2 | ||||
-rw-r--r-- | program/js/treelist.js | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 3ace0b0b0..2018cfbc4 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2482,7 +2482,7 @@ function rcube_webmail() // expand all threads with unread children this.expand_unread = function() { - var r, tbody = this.gui_objects.messagelist.tBodies[0], + var r, tbody = this.message_list.tbody, new_row = tbody.firstChild; while (new_row) { diff --git a/program/js/treelist.js b/program/js/treelist.js index bb847d1e3..c034f77b8 100644 --- a/program/js/treelist.js +++ b/program/js/treelist.js @@ -458,6 +458,10 @@ function rcube_treelist_widget(node, p) node.deleted = true; delete indexbyid[id]; + if (search_active) { + id2dom(id, false).remove(); + } + return true; } |