summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-08-20 09:03:19 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-08-20 09:03:19 +0200
commit3fb36a11fe58cca1a12bd5653d70d484f997807d (patch)
tree43716ee2fd91d9c8cd0eab31a19b77e315c1985d /program/js/app.js
parent44b47dfb359f8a7412208079202fca0adf741540 (diff)
Add option to focus a treelist widget on clicks to the container (#1489997)
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 0fca47191..e5a70c9f1 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -563,6 +563,7 @@ function rcube_webmail()
this.treelist = new rcube_treelist_widget(this.gui_objects.folderlist, {
selectable: true,
id_prefix: 'rcmli',
+ parent_focus: true,
id_encode: this.html_identifier_encode,
id_decode: this.html_identifier_decode,
check_droptarget: function(node) { return !node.virtual && ref.check_droptarget(node.id) }
@@ -5751,6 +5752,7 @@ function rcube_webmail()
this.subscription_list = new rcube_treelist_widget(this.gui_objects.subscriptionlist, {
selectable: true,
tabexit: false,
+ parent_focus: true,
id_prefix: 'rcmli',
id_encode: this.html_identifier_encode,
id_decode: this.html_identifier_decode,