5 $sp_person_autocomplete_uri
6 $trait_autocomplete_uri
11 <& /util/import_javascript.mas,
12 classes=>[qw[CXGN.Effects jquery jqueryui popup] ]
16 div[class*="advanced"] {
20 #stock_search_form .select span span {
25 #stock_search_form div label, #stock_search_form legend {
28 #stock_search_form label {
44 /* prevent horizontal scrollbar */
48 /* IE 6 doesn't support max-height
49 * we use height instead, but this forces the menu to always be this tall
51 * html .ui-autocomplete {
58 <script language="javascript">
60 jQuery("#person").autocomplete({
61 source: '<% $sp_person_autocomplete_uri %>'
63 jQuery("#trait").autocomplete({
64 source: '<% $trait_autocomplete_uri %>'
66 jQuery("#onto").autocomplete({
67 source: '<% $onto_autocomplete_uri %>' + "?db_name=" + '<% $trait_db_name %>'
69 jQuery("#stock_name").autocomplete({
70 source: '/ajax/stock/stock_autocomplete',
72 jQuery("#project").autocomplete({
73 source: '/ajax/stock/project_autocomplete',
75 jQuery("#location").autocomplete({
76 source: '/ajax/stock/geolocation_autocomplete',
78 jQuery("#year").autocomplete({
79 source: '/ajax/stock/project_year_autocomplete',
89 # set the stock type multi-select choices from the db
90 $form->get_element({ name => 'stock_type'})->options( $opts->{stock_types} );
91 $form->get_element({ name => 'organism'})->options( $opts->{organisms} );
93 $form->process( $request );