Fixed display bug with new ajax_box.

This commit is contained in:
Benjamin Meichsner 2009-08-11 19:49:31 +02:00
parent 58ce422ef7
commit 3656dac3cb

View file

@ -23,7 +23,6 @@
%span{:style => "color:white; font-size:45%; letter-spacing: -1px;"}= Foodsoft.config[:name] %span{:style => "color:white; font-size:45%; letter-spacing: -1px;"}= Foodsoft.config[:name]
#nav= render :partial => 'layouts/main_tabnav' #nav= render :partial => 'layouts/main_tabnav'
#ajax_box(style="display:none")
#main #main
#content #content
- if flash[:notice] - if flash[:notice]
@ -34,6 +33,7 @@
- if yield(:title) - if yield(:title)
%h1= yield(:title) %h1= yield(:title)
= yield = yield
#ajax_box(style="display:none")
- if flash[:notice] - if flash[:notice]
= javascript_tag("new Effect.Highlight('flashNotice', {delay:0.8, duration:1});") = javascript_tag("new Effect.Highlight('flashNotice', {delay:0.8, duration:1});")