新建贴吧后自动跳入该贴吧
This commit is contained in:
parent
994bb3ad20
commit
f2903ae903
|
@ -1,6 +1,7 @@
|
||||||
<%if @save_flag%>
|
<%if @save_flag%>
|
||||||
$('#new_forum_div').slideToggle();$('#create_btn').parent().slideToggle();
|
//$('#new_forum_div').slideToggle();$('#create_btn').parent().slideToggle();
|
||||||
$('#reorder_time').click();
|
//$('#reorder_time').click();
|
||||||
|
window.location.href= "http://"+"<%= Setting.host_name%>"+"/forums/" + "<%= @forum.id%>"
|
||||||
<%else%>
|
<%else%>
|
||||||
$("#error").html("<%= @forum.errors.full_messages[0]%>").show();
|
$("#error").html("<%= @forum.errors.full_messages[0]%>").show();
|
||||||
<%end %>
|
<%end %>
|
Loading…
Reference in New Issue