新建贴吧后自动跳入该贴吧

This commit is contained in:
yuanke 2016-06-13 09:45:11 +08:00
parent 994bb3ad20
commit f2903ae903
1 changed files with 3 additions and 2 deletions

View File

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