Commit 660ecc748cd9926ca1112605e65f584bb1d60b22
1 parent
779f43c8
Exists in
master
and in
29 other branches
ActionItem85: automatically fading out the notice box
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@596 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
app/views/layouts/application.rhtml
... | ... | @@ -33,9 +33,7 @@ |
33 | 33 | <% unless flash[:notice].nil? %> |
34 | 34 | <div id='notice'> |
35 | 35 | <%= flash[:notice] %> |
36 | - <div class='button'> | |
37 | - <%= link_to_function( content_tag(:span, _('Close') ), visual_effect(:fade, "notice", :duration => 0.5), :id => 'button_close_notice' ) %> | |
38 | - </div> | |
36 | + <%= javascript_tag(visual_effect(:fade, "notice", :duration => 2.0)) %> | |
39 | 37 | </div> |
40 | 38 | <% end %> |
41 | 39 | ... | ... |