fix dns error
This commit is contained in:
parent
26bc837c76
commit
d635c892cf
|
@ -15,7 +15,7 @@ $(document).ready(function() {
|
|||
|
||||
if ($("#ask_reply_status").val() == '轉介其他單位') {
|
||||
|
||||
var local_host = "<%= request.host %>:<%= request.port %>";
|
||||
var local_host = "<%= request.ip %>:<%= request.port %>";
|
||||
|
||||
hide_current_host_name(local_host);
|
||||
|
||||
|
@ -82,8 +82,8 @@ $(document).ready(function() {
|
|||
<tr>
|
||||
<td colspan="5" class="dept_options">
|
||||
<div class="dept_options">
|
||||
<%= check_box("school", "depts", {:multiple => true}, "localhost:3000", nil) %><%= label_tag("localhost:3000", "總務長室暨總務處秘書室") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "localhost:4000", nil) %><%= label_tag("localhost:4000", "文書組") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "127.0.0.1:3000", nil) %><%= label_tag("127.0.0.1:3000", "總務長室暨總務處秘書室") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "127.0.0.1:4000", nil) %><%= label_tag("127.0.0.1:4000", "文書組") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "事務組", nil) %><%= label_tag(:dep3, "事務組") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "保管組", nil) %><%= label_tag(:dep4, "保管組") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "營繕組", nil) %><%= label_tag(:dep5, "營繕組") %>
|
||||
|
|
Loading…
Reference in New Issue