diff --git a/config/plugins/visualizations/scatterplot/src/scatterplot-display.js b/config/plugins/visualizations/scatterplot/src/scatterplot-display.js index 7f36486e09f..0429f1472bb 100644 --- a/config/plugins/visualizations/scatterplot/src/scatterplot-display.js +++ b/config/plugins/visualizations/scatterplot/src/scatterplot-display.js @@ -20,7 +20,7 @@ var ScatterplotDisplay = Backbone.View.extend({ var view = this, config = this.model.get( 'config' ), //TODO: very tied to datasets - should be generalized eventually - xhr = jQuery.getJSON( '/api/datasets/' + this.dataset.id, { + xhr = jQuery.getJSON(((typeof parent.galaxy_config.root == 'undefined') ? '/' : parent.galaxy_config.root) + 'api/datasets/' + this.dataset.id, { data_type : 'raw_data', provider : 'dataset-column', limit : config.pagination.perPage,