From 3656dac3cbbdf0a764dce29231263a591afbcc61 Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Tue, 11 Aug 2009 19:49:31 +0200 Subject: [PATCH] Fixed display bug with new ajax_box. --- app/views/layouts/application.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.haml b/app/views/layouts/application.haml index 25880429..e5c6727d 100644 --- a/app/views/layouts/application.haml +++ b/app/views/layouts/application.haml @@ -23,7 +23,6 @@ %span{:style => "color:white; font-size:45%; letter-spacing: -1px;"}= Foodsoft.config[:name] #nav= render :partial => 'layouts/main_tabnav' - #ajax_box(style="display:none") #main #content - if flash[:notice] @@ -34,6 +33,7 @@ - if yield(:title) %h1= yield(:title) = yield + #ajax_box(style="display:none") - if flash[:notice] = javascript_tag("new Effect.Highlight('flashNotice', {delay:0.8, duration:1});")