Revision 1281:e9bfba17e791 plugins/redmine_bibliography/app/helpers

View differences:

plugins/redmine_bibliography/app/helpers/publications_helper.rb
37 37

  
38 38
   if @results.size > 0
39 39
     s = select_tag( form_tag_name(object_name, :author_search_results), options_for_select(@author_options), { :id => form_tag_id(object_name, :author_search_results), :size => 3} )
40
     s << observe_field( form_tag_id(object_name, :author_search_results), :on => 'click', :function => "alert('Element changed')", :with => 'q')
41 40
   else
42 41
     s = "<em>No Authors found that match your search… sorry!</em>"
43 42
   end

Also available in: Unified diff