Commit ba4e97432120fdb53eb30628bd03aa509777d370

Authored by LeandroNunes
1 parent 543230c9

ActionItem85: teste

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@769 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/helpers/application_helper.rb
... ... @@ -257,10 +257,10 @@ module ApplicationHelper
257 257  
258 258 def search_box
259 259 [form_tag( :controller => 'search', :action => 'index'),
260   - text_field_tag( 'query', _('Search'), :id => "input_search"),
  260 + text_field_tag( 'query', _(' '), :id => "input_search"),
261 261 submit_tag(_('Search'), :id => 'button_search'),
262 262 '</form>',
263   - observe_field('input_search', :function => "", :on => :focus)
  263 + observe_field('input_search', :function => "element.value=''", :on => :focus)
264 264 ].join("\n")
265 265 end
266 266  
... ...