[fix] website snippets: style options without href
authorChristophe Matthieu <chm@openerp.com>
Thu, 19 Sep 2013 12:34:11 +0000 (14:34 +0200)
committerChristophe Matthieu <chm@openerp.com>
Thu, 19 Sep 2013 12:34:11 +0000 (14:34 +0200)
bzr revid: chm@openerp.com-20130919123411-fju5szr855m6g7ou

addons/website/static/src/css/editor.css
addons/website/static/src/css/editor.sass
addons/website/static/src/js/website.snippets.js

index 7d954c9..468e1c9 100644 (file)
@@ -369,6 +369,7 @@ table.editorbar-panel td.selected {
 }
 .oe_overlay .oe_overlay_options a {
   pointer-events: auto;
+  cursor: pointer;
 }
 .oe_overlay .oe_overlay_options .dropdown-menu {
   text-align: left;
index 162329e..4f72674 100644 (file)
@@ -326,6 +326,7 @@ table.editorbar-panel
             pointer-events: auto
         a
             pointer-events: auto
+            cursor: pointer
         .dropdown-menu
             text-align: left
             min-width: 180px
index 8eb1881..75a0fc9 100644 (file)
                     return;
                 }
                 var $li = $("<li/>").data(val);
-                $li.append($('<a href="#"/>').text(val.label));
+                $li.append($('<a/>').text(val.label));
                 $ul.append($li);
                 if (self.$target.hasClass( "oe_snippet_" + $li.data("snipped-id") )) {
                     $li.addClass("active");