summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-09-11 12:48:06 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-09-11 12:48:13 +0200
commit7acda7a6f4f5bb6f8cbeb19a497672bfb7608fa6 (patch)
treedbfa1dc7104e949bab064d117b4ac8d79f408beb /program/js
parent8cc65d1f5fae71e2ee07748e82ab274d8d45304b (diff)
Also remove cloned search item from treelist
Diffstat (limited to 'program/js')
-rw-r--r--program/js/treelist.js4
1 files changed, 4 insertions, 0 deletions
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;
}