Merge remote-tracking branch 'origin/develop' into weixin_guange

This commit is contained in:
guange 2016-06-24 17:37:11 +08:00
commit 7df9fe7d60
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 %>