From 13ec25ed10536750f87195e42bf9fd2a283be68d Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Wed, 25 Jul 2012 17:44:50 +0800 Subject: [PATCH] fix for orbit bar broken --- app/views/layouts/_orbit_bar.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/_orbit_bar.html.erb b/app/views/layouts/_orbit_bar.html.erb index 252fc91e..7936953c 100644 --- a/app/views/layouts/_orbit_bar.html.erb +++ b/app/views/layouts/_orbit_bar.html.erb @@ -39,9 +39,9 @@ - - - <%= text_field_tag 'q','',{:class => "search-query span3",:placeholder=> t(:search_nccu) ,:disabled=> (@site.search["sitesearch"] || @site.search["domains"] ).blank?}%> + '> + '> + <%= text_field_tag 'q','',{:class => "search-query span3",:placeholder=> t(:search_nccu) ,:disabled=> ((@site.search["sitesearch"] || @site.search["domains"] ).blank? rescue true)}%> <% if user_signed_in? %>