From: Michael M Slusarz Date: Fri, 23 Oct 2009 19:14:41 +0000 (-0600) Subject: Catch both right/left clicks on qsearch icon X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1fa312554711047f93c2455884948004e4246d02;p=horde.git Catch both right/left clicks on qsearch icon --- diff --git a/imp/js/DimpBase.js b/imp/js/DimpBase.js index 6c1bae168..aaa9ddd4c 100644 --- a/imp/js/DimpBase.js +++ b/imp/js/DimpBase.js @@ -1386,6 +1386,7 @@ var DimpBase = { if (this.isSearch()) { DimpCore.DMenu.disable('qsearch_icon', true, false); + DimpCore.DMenu.disable('qsearch_icon', false, false); this.resetSelected(); $('qsearch', 'qsearch_input').invoke('show'); if (!noload) { @@ -1416,6 +1417,7 @@ var DimpBase = { $('qsearch_input').hide(); } DimpCore.DMenu.disable('qsearch_icon', true, true); + DimpCore.DMenu.disable('qsearch_icon', false, true); }, /* Enable/Disable DIMP action buttons as needed. */ @@ -2572,6 +2574,7 @@ var DimpBase = { if ($('qsearch')) { $('qsearch_input').observe('blur', this._quicksearchOnBlur.bind(this)); this._addMouseEvents({ id: 'qsearch_icon', left: true, offset: 'qsearch', type: 'qsearchopts' }); + this._addMouseEvents({ id: 'qsearch_icon', left: false, offset: 'qsearch', type: 'qsearchopts' }); DM.addSubMenu('ctx_qsearchopts_by', 'ctx_qsearchby'); DM.addSubMenu('ctx_qsearchopts_filter', 'ctx_flag'); DM.addSubMenu('ctx_qsearchopts_filternot', 'ctx_flag'); diff --git a/imp/themes/screen-dimp.css b/imp/themes/screen-dimp.css index 4af858f99..e8f000901 100644 --- a/imp/themes/screen-dimp.css +++ b/imp/themes/screen-dimp.css @@ -464,10 +464,12 @@ div.dimpActionsCompose, div.dimpActionsMsg { padding: 3px 10px 5px 5px; } +.msgHeaders table { + margin-top: -2px; +} .msgHeaders table thead td { padding: 0 0 1px 0; } - .msgHeaders table thead tr { vertical-align: top; }