|
|
@ -172,11 +172,10 @@
|
|
|
|
if ($("#subfield_name").val().trim() != "")
|
|
|
|
if ($("#subfield_name").val().trim() != "")
|
|
|
|
$("#add_subfield_form").submit();
|
|
|
|
$("#add_subfield_form").submit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function add_org_subfield_subdomain(){
|
|
|
|
function add_org_subfield_subdomain(){
|
|
|
|
if ($("#subfield_name_subdomain").val().trim() != "")
|
|
|
|
if ($("#subfield_name_subdomain").val().trim() != "")
|
|
|
|
alert("Test");
|
|
|
|
|
|
|
|
$("#add_subfield_form_subdomain").submit();
|
|
|
|
$("#add_subfield_form_subdomain").submit();
|
|
|
|
|
|
|
|
$("#org_subfield_list").html('<%= escape_javascript(render(:partial => 'organizations/subfield_list', :locals => {:subfields => @organization.org_subfields.order("priority")} )) %>');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var $is_exist = false;
|
|
|
|
var $is_exist = false;
|
|
|
|
function apply_subdomain(id, domain){
|
|
|
|
function apply_subdomain(id, domain){
|
|
|
|