Merge branch 'yuanke' into develop

This commit is contained in:
yuanke 2016-06-24 17:19:25 +08:00
commit e3c094cb07
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<%if @save_flag%>
//$('#new_forum_div').slideToggle();$('#create_btn').parent().slideToggle();
//$('#reorder_time').click();
window.location.href= "http://"+"<%= Setting.host_name%>"+"/forums/" + "<%= @forum.id%>"
window.location.href= "<%= host_with_protocol %>"+"/forums/" + "<%= @forum.id%>"
<%else%>
$("#error").html("<%= @forum.errors.full_messages[0]%>").show();
<%end %>