Merge remote-tracking branch 'origin/develop' into weixin_guange
This commit is contained in:
commit
7df9fe7d60
|
@ -1,7 +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%>"
|
window.location.href= "<%= host_with_protocol %>"+"/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