From cca24f93a676e5ef6944ca244123dc25156708d3 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 24 Nov 2010 12:23:08 -0700 Subject: [PATCH] Add mailbox name to context menu --- imp/js/dimpbase.js | 8 ++++++++ imp/templates/dimp/index.inc | 10 ++++++++++ imp/themes/default/dimp/screen.css | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/imp/js/dimpbase.js b/imp/js/dimpbase.js index 99ee0c8ff..6a4b2b4f6 100644 --- a/imp/js/dimpbase.js +++ b/imp/js/dimpbase.js @@ -993,6 +993,14 @@ var DimpBase = { tmp = $(this.getSubFolderId(baseelt.readAttribute('id'))); [ $('ctx_folder_expand').up() ].invoke(tmp ? 'show' : 'hide'); + + // Fall-through + + case 'ctx_container': + case 'ctx_noactions': + case 'ctx_vfolder': + baseelt = e.findElement('LI'); + $(ctx_id).down('DIV.folderName').update(baseelt.readAttribute('title')); break; case 'ctx_reply': diff --git a/imp/templates/dimp/index.inc b/imp/templates/dimp/index.inc index 2c03086b9..bdd2ecb97 100644 --- a/imp/templates/dimp/index.inc +++ b/imp/templates/dimp/index.inc @@ -294,6 +294,8 @@ function _simpleButton($id, $text, $image, $nodisplay = false)