Catch both right/left clicks on qsearch icon
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 23 Oct 2009 19:14:41 +0000 (13:14 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Sat, 24 Oct 2009 23:57:35 +0000 (17:57 -0600)
imp/js/DimpBase.js
imp/themes/screen-dimp.css

index 6c1bae1..aaa9ddd 100644 (file)
@@ -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');
index 4af858f..e8f0009 100644 (file)
@@ -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;
 }