some post-merge problems

This commit is contained in:
Martin Cech
2015-03-16 14:54:06 -04:00
parent 570d4fd1b7
commit 4e2ed61be2
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ $( function() {
}
// Start a new ajax-request in X ms
$("#search-spinner").show();
var tool_search_url = galaxy_config.root + 'api/tools/search';
var tool_search_url = galaxy_config.root + 'api/tools';
this.timer = setTimeout(function () {
$.get(tool_search_url, { q: q }, function (data) {
// input.removeClass(config.loadingClass);
+2 -2
View File
@@ -359,7 +359,7 @@ var ToolSearch = Backbone.Model.extend({
clear_key: 27
},
urlRoot: galaxy_config.root + 'api/tools/search',
urlRoot: galaxy_config.root + 'api/tools',
initialize: function() {
this.on("change:query", this.do_search);
@@ -392,7 +392,7 @@ var ToolSearch = Backbone.Model.extend({
if ( typeof ga !== 'undefined' ) {
ga( 'send', 'pageview', galaxy_config.root + '?q=' + q );
}
$.get(self.attributes.search_url, { query: q }, function (data) {
$.get( self.urlRoot, { q: q }, function (data) {
self.set("results", data);
$("#search-spinner").hide();
$("#search-clear-btn").show();
+1 -1
View File
@@ -68,7 +68,7 @@ class ToolsController( BaseAPIController, UsesVisualizationMixin ):
for hit in hits:
tool = self._get_tool( hit )
if tool:
results.append( tool.to_dict( trans ) )
results.append( tool.id )
return results
# Find whether to detect.
+1 -1
View File
@@ -31,7 +31,7 @@ $( function() {
}
// Start a new ajax-request in X ms
$("#search-spinner").show();
var tool_search_url = galaxy_config.root + 'api/tools/search';
var tool_search_url = galaxy_config.root + 'api/tools';
this.timer = setTimeout(function () {
$.get(tool_search_url, { q: q }, function (data) {
// input.removeClass(config.loadingClass);
+2 -2
View File
@@ -359,7 +359,7 @@ var ToolSearch = Backbone.Model.extend({
clear_key: 27
},
urlRoot: galaxy_config.root + 'api/tools/search',
urlRoot: galaxy_config.root + 'api/tools',
initialize: function() {
this.on("change:query", this.do_search);
@@ -392,7 +392,7 @@ var ToolSearch = Backbone.Model.extend({
if ( typeof ga !== 'undefined' ) {
ga( 'send', 'pageview', galaxy_config.root + '?q=' + q );
}
$.get(self.attributes.search_url, { query: q }, function (data) {
$.get( self.urlRoot, { q: q }, function (data) {
self.set("results", data);
$("#search-spinner").hide();
$("#search-clear-btn").show();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long