From 43fdec3f41ab69b43da9ea5ddd27d8b10153a4ba Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 15 Oct 2014 16:30:32 +0800 Subject: [PATCH] =?UTF-8?q?#982=E5=AF=B9Micros=E5=9F=9F=E5=90=8D=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E5=88=A4=E6=96=AD=EF=BC=8C=E4=BF=AE=E5=A4=8DMicros?= =?UTF-8?q?=E7=89=88=E6=B3=A8=E5=86=8C=E7=94=A8=E6=88=B7=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=E6=97=A0=E6=B3=95=E9=80=89=E6=8B=A9=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/my/account.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erb index 3cb4fad80..8f118de05 100644 --- a/app/views/my/account.html.erb +++ b/app/views/my/account.html.erb @@ -16,7 +16,7 @@ function get_options(value) { $.ajax({ 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', success: function (data) { $("#province").val(value)