parent
86a5eccae6
commit
f1682edf64
@ -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