From: Michael M Slusarz Date: Wed, 28 Oct 2009 19:36:07 +0000 (-0600) Subject: Tweak click detection on folder list X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4850fbdb388de824d7d2ca310eebd0b0bec7b329;p=horde.git Tweak click detection on folder list --- 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;