From 660ecc748cd9926ca1112605e65f584bb1d60b22 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Mon, 1 Oct 2007 18:21:04 +0000 Subject: [PATCH] ActionItem85: automatically fading out the notice box --- app/views/layouts/application.rhtml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml index b71d9dd..6b7ddb9 100644 --- a/app/views/layouts/application.rhtml +++ b/app/views/layouts/application.rhtml @@ -33,9 +33,7 @@ <% unless flash[:notice].nil? %>
<%= flash[:notice] %> -
- <%= link_to_function( content_tag(:span, _('Close') ), visual_effect(:fade, "notice", :duration => 0.5), :id => 'button_close_notice' ) %> -
+ <%= javascript_tag(visual_effect(:fade, "notice", :duration => 2.0)) %>
<% end %> -- libgit2 0.21.2