Update scatterplot-display.js

This commit is contained in:
yhoogstrate
2015-04-07 15:51:55 +02:00
parent fc51b85d2c
commit b29ea767d9
@@ -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,