From 4850fbdb388de824d7d2ca310eebd0b0bec7b329 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 28 Oct 2009 13:36:07 -0600 Subject: [PATCH] Tweak click detection on folder list --- imp/js/DimpBase.js | 2 +- imp/themes/screen-dimp.css | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/imp/js/DimpBase.js b/imp/js/DimpBase.js index f43b88740..54253f0c7 100644 --- a/imp/js/DimpBase.js +++ b/imp/js/DimpBase.js @@ -2034,7 +2034,7 @@ var DimpBase = { _handleFolderMouseClick: function(e) { var elt = e.element(), - li = elt.up('LI'); + li = elt.match('LI') ? elt : elt.up('LI'); if (!li) { return; diff --git a/imp/themes/screen-dimp.css b/imp/themes/screen-dimp.css index fd5428619..401d5bc5e 100644 --- a/imp/themes/screen-dimp.css +++ b/imp/themes/screen-dimp.css @@ -271,9 +271,6 @@ div.vpRow.flagDeleted { } /* Sidebar */ -#sidebarPanel a { - cursor: pointer; -} #sidebarPanel .sepfull { height: 1px !important; margin: 5px 0; @@ -306,9 +303,6 @@ div.vpRow.flagDeleted { #sidebarPanel li.on { background: #ffa; } -#sidebarPanel li span { - cursor: pointer; -} #sidebarPanel li.subfolders { height: auto; margin: 0; @@ -339,9 +333,13 @@ div.vpRow.flagDeleted { font-style: italic; } #sidebarPanel .over a, #sidebarPanel li.folder:hover, #sidebarPanel li.custom:hover, #sidebarPanel li.servicelink:hover { + cursor: pointer; font-weight: bold; text-decoration: underline; } +#sidebarPanel .container span.iconSpan { + cursor: pointer; +} #folderopts a { display: inline !important; -- 2.11.0