forked from bofh/fetsite
pages added
This commit is contained in:
5
app/views/pages/destroy.js.erb
Normal file
5
app/views/pages/destroy.js.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<% unless @page.errors.any? -%>
|
||||
$("#flash_notice").html("<%= escape_javascript(flash[:notice])%>");
|
||||
$("#flash_notice").show(300);
|
||||
$("#<%= dom_id(@page)%>").fadeOut('fast');
|
||||
<% end -%>
|
||||
Reference in New Issue
Block a user