pb tableau résolu

This commit is contained in:
Nicolas Bally 2014-07-09 16:31:17 +02:00
parent 3bf8a2a06f
commit 9c15463042
2 changed files with 3 additions and 4 deletions

View File

@ -290,7 +290,7 @@ jQuery ->
})
$(document).on "mouseover", ".portlet", ->
$(document).on "mouseover", ".portlet:not(.edit)", ->
$(this).children(".btn-toolbar").show()

View File

@ -1,4 +1,5 @@
//$("#portlet_<%= @portlet.id %>").html("<div id='edit_portlet_content_form'></div>");
$("#portlet_<%= @portlet.id %>").addClass("edit");
$("#portlet_<%= @portlet.id %>").find(".btn-toolbar").hide()
//$("#edit_portlet_content_form").html("<%= escape_javascript(render( :partial => "form")) %>");
@ -15,5 +16,3 @@ $("#collapse3").collapse('show');
<%- cancel_button = escape_javascript(link_to("annuler", portlet_portlet_path(@portlet), :class => "button cancel", :remote => true)); %>
$("#portlet_<%= @portlet.id %>").find('.buttons ol').prepend('<%= cancel_button %>');