#982对Micros域名进行判断,修复Micros版注册用户的时候无法选择工作单位的BUG

This commit is contained in:
sw 2014-10-15 16:30:32 +08:00
parent 5b91356463
commit 43fdec3f41
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
function get_options(value) { function get_options(value) {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: '/school/get_options/' + encodeURIComponent(value), url: '<%= Setting.host_name == "micros.nudt.edu.cn" ? '/ros/school/get_options/' : '/school/get_options/'%>' + encodeURIComponent(value),
data: 'text', data: 'text',
success: function (data) { success: function (data) {
$("#province").val(value) $("#province").val(value)