#982修复注册时无法选择工作单位的BUG

修复学校列表显示异常的BUG
This commit is contained in:
sw 2014-10-21 09:28:38 +08:00
parent 6530c657ee
commit 898fe7e9c9
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
function get_options(value) {
$.ajax({
type: "POST",
url: '/school/get_options/' + encodeURIComponent(value),
url: 'http://<%= Setting.host_name%>/school/get_options/' + encodeURIComponent(value),
data: 'text',
success: function (data) {
$("#occupation").html(data);

View File

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