pb tableau résolu
This commit is contained in:
parent
3bf8a2a06f
commit
9c15463042
@ -290,7 +290,7 @@ jQuery ->
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
$(document).on "mouseover", ".portlet", ->
|
$(document).on "mouseover", ".portlet:not(.edit)", ->
|
||||||
|
|
||||||
$(this).children(".btn-toolbar").show()
|
$(this).children(".btn-toolbar").show()
|
||||||
|
|
||||||
|
@ -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")) %>");
|
//$("#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)); %>
|
<%- 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 %>');
|
$("#portlet_<%= @portlet.id %>").find('.buttons ol').prepend('<%= cancel_button %>');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user