This commit is contained in:
Bernie Chiu 2013-09-27 14:46:18 +08:00
parent 50f5d12da3
commit d68f324ca3
1 changed files with 2 additions and 4 deletions

View File

@ -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() {
@ -14,9 +14,7 @@ function hide_current_host_name(localhost) {
$(document).ready(function() {
if ($("#ask_reply_status").val() == '轉介其他單位') {
var local_host = "<%= request.ip %>:<%= request.port %>";
hide_current_host_name(local_host);
$('.dept_options').show();