url change
This commit is contained in:
parent
fba24af824
commit
aa1078340e
|
@ -104,9 +104,9 @@
|
|||
var school = $("#school_name").val();
|
||||
type = (type == "School" ? "school_sites" : "orbit_sites" );
|
||||
if(school != ""){
|
||||
$("#path").val("/home/rulingcom/" + type + "/" + school + "/");
|
||||
$("#path").val("/home/rulingcom/" + type + "/" + school);
|
||||
}else{
|
||||
$("#path").val("/home/rulingcom/" + type + "/");
|
||||
$("#path").val("/home/rulingcom/" + type);
|
||||
}
|
||||
})
|
||||
$("#site_name").on("blur",function(){
|
||||
|
@ -117,9 +117,9 @@
|
|||
$("#db_name").val(val);
|
||||
type = (type == "School" ? "school_sites" : "orbit_sites" );
|
||||
if(school != ""){
|
||||
$("#path").val("/home/rulingcom/" + type + "/" + school + "/")
|
||||
$("#path").val("/home/rulingcom/" + type + "/" + school);
|
||||
}else{
|
||||
$("#path").val("/home/rulingcom/" + type + "/");
|
||||
$("#path").val("/home/rulingcom/" + type);
|
||||
}
|
||||
})
|
||||
$("#site_construct_site_type").val("School");
|
||||
|
|
Loading…
Reference in New Issue