|
|
|
@ -97,7 +97,8 @@
|
|
|
|
|
<span class="fr">|</span>
|
|
|
|
|
<a href="javascript:void(0);" class="linkGrey fr ml5 mr5" onclick="edit('#subfield_show_<%= field.id %>','#subfield_edit_<%= field.id %>');">编辑</a>
|
|
|
|
|
<span class="fr">|</span>
|
|
|
|
|
<a href="javascript:void(0);" class="linkGrey fr mr5">添加二级目录</a>
|
|
|
|
|
|
|
|
|
|
<a href="javascript:void(0);" class="linkGrey fr mr5" onclick="org_submain_new('<%= escape_javascript(render :partial => 'sub_domains/new', :locals => {:organization => @organization, :field => field}) %>');">添加二级目录</a>
|
|
|
|
|
</li>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</ul>
|
|
|
|
@ -219,6 +220,15 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
function org_submain_new(html) {
|
|
|
|
|
$('#ajax-modal').html(html);
|
|
|
|
|
showModal('ajax-modal', '513px');
|
|
|
|
|
$('#ajax-modal').siblings().remove();
|
|
|
|
|
$('#ajax-modal').before("<a href='javascript:void(0)' onclick='hideModal()' style='margin-left: 480px;'><img src='/images/bid/close.png' width='26px' height='26px' /></a>");
|
|
|
|
|
$('#ajax-modal').parent().css("top","40%").css("left","50%").css("border","3px solid #269ac9");
|
|
|
|
|
$('#ajax-modal').parent().addClass("popbox_polls");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
$(".pic_edit2").click(function(){
|
|
|
|
|
$(this).parent().hide();
|
|
|
|
|