From 164f1ac06543ddbe6767fa6842bcf8ebf7633d0b Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 12 Mar 2009 13:22:51 -0600 Subject: [PATCH] Fix mailbox click handler --- imp/js/src/mailbox.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/imp/js/src/mailbox.js b/imp/js/src/mailbox.js index 0fea51170..5d00ffd24 100644 --- a/imp/js/src/mailbox.js +++ b/imp/js/src/mailbox.js @@ -295,15 +295,14 @@ var ImpMessage = { } else if (elt.hasClassName('viewAction')) { this.submit('view_messages'); } else if (elt.hasClassName('hideAction') || elt.hasClassName('purgeAction')) { - return; + return; } e.stop(); return; - } - - if (!id) { - return; + } else if (!id) { + elt = elt.up(); + continue; } switch (id) { -- 2.11.0