summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/treelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/treelist.js b/program/js/treelist.js
index a861b4987..1dd30a20e 100644
--- a/program/js/treelist.js
+++ b/program/js/treelist.js
@@ -64,7 +64,7 @@ function rcube_treelist_widget(node, p)
scroll_timer,
searchfield,
tree_state,
- list_id = (container.attr('id') || id_prefix || '0'),
+ list_id = (container.attr('id') || p.id_prefix || '0'),
me = this;