(test)remote ip
This commit is contained in:
parent
50f5d12da3
commit
4e12c0bb5b
|
@ -1,6 +1,6 @@
|
|||
<script type="text/javascript">
|
||||
|
||||
var local_host = "<%= request.host %>:<%= request.port %>";
|
||||
var local_host = "<%= request.ip %>:<%= request.port %>";
|
||||
|
||||
function hide_current_host_name(localhost) {
|
||||
$('input[type=checkbox]').each(function() {
|
||||
|
@ -15,8 +15,6 @@ $(document).ready(function() {
|
|||
|
||||
if ($("#ask_reply_status").val() == '轉介其他單位') {
|
||||
|
||||
var local_host = "<%= request.ip %>:<%= request.port %>";
|
||||
|
||||
hide_current_host_name(local_host);
|
||||
|
||||
$('.dept_options').show();
|
||||
|
@ -82,8 +80,10 @@ $(document).ready(function() {
|
|||
<tr>
|
||||
<td colspan="5" class="dept_options">
|
||||
<div class="dept_options">
|
||||
<%= 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}, "118.163.60.152:14180", nil) %><%= label_tag("118.163.60.152:14180", "測試站14180") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "118.163.60.152:14280", nil) %><%= label_tag("118.163.60.152:14280", "測試站14280") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "總務長室暨總務處秘書室", nil) %><%= label_tag(:dep1, "總務長室暨總務處秘書室") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "文書組", nil) %><%= label_tag(:dep2, "文書組") %>
|
||||
<%= 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