From: Michael M Slusarz Date: Wed, 24 Nov 2010 19:23:08 +0000 (-0700) Subject: Add mailbox name to context menu X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=cca24f93a676e5ef6944ca244123dc25156708d3;p=horde.git Add mailbox name to context menu --- 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)