|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
<span class="mr45 color-grey-9 fl">管理员</span>
|
|
|
|
|
<ul class="manageList">
|
|
|
|
|
<li>
|
|
|
|
|
<%= link_to '+', add_partner_member_box_managements_path(:partner => @current_partner), :remote => true, :class => "addManage" %>
|
|
|
|
|
<%= link_to '+', add_partner_member_box_managements_path(:partner => 1), :remote => true, :class => "addManage" %>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<% unless @current_partner.nil? %>
|
|
|
|
@ -77,14 +77,6 @@
|
|
|
|
|
$(this).parents("li").remove();
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
$(".manageList").on("click",".addManage",function(){
|
|
|
|
|
var html="<%= escape_javascript(render :partial => "managements/partner_addManage") %>";
|
|
|
|
|
pop_box_new(html,572,500);
|
|
|
|
|
})
|
|
|
|
|
$(".addOperation").on("click",function(){
|
|
|
|
|
var html="<%= escape_javascript(render :partial => "managements/partner_addUnit") %>";
|
|
|
|
|
pop_box_new(html,572,500);
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
</script>
|