[fix] website snippets: style options without href

bzr revid: chm@openerp.com-20130919123411-fju5szr855m6g7ou
This commit is contained in:
Christophe Matthieu 2013-09-19 14:34:11 +02:00
parent 5bb8fb451c
commit bfb9eb5b0a
3 changed files with 3 additions and 1 deletions

View 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;

View 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

View File

@ -689,7 +689,7 @@
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");