Permalink
Browse files

Drop sitePrefix param

  • Loading branch information...
nicklangridge committed Feb 24, 2014
1 parent 7852371 commit 675bc2a591b56ce497c2b80c90b0b8a5c8a2a988
@@ -7,7 +7,7 @@ Ensembl.Panel.SpeciesList = Ensembl.Panel.extend({
var ac = $("#species_autocomplete", this.el);
ac.autocomplete({
minLength: 3,
- source: sitePrefix + '/Multi/Ajax/species_autocomplete',
+ source: '/Multi/Ajax/species_autocomplete',
select: function(event, ui) { if (ui.item) Ensembl.redirect('/' + ui.item.production_name + '/Info/Index') },
search: function() { ac.addClass('loading') },
response: function(event, ui) {
@@ -28,7 +28,6 @@ sub render {
<div class="home-search-flex">
<div id="species_list" class="js_panel">
<input type="hidden" class="panel_type" value="SpeciesList" />
- <input type="hidden" name="sitePrefix" value="" />
<h3 class="first">Search for a genome</h3>
<form id="species_autocomplete_form" action="/info/about/species.html" style="margin-bottom:5px" method="get">
<div>

0 comments on commit 675bc2a

Please sign in to comment.