mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix scatterplot saving feature
This commit is contained in:
@@ -20,7 +20,7 @@ var Visualization = Backbone.Model.extend({
|
||||
/** override urlRoot to handle prefix */
|
||||
urlRoot: function() {
|
||||
var apiUrl = "api/visualizations";
|
||||
return Galaxy.root + apiUrl;
|
||||
return Galaxy.root_api + apiUrl;
|
||||
},
|
||||
|
||||
/** Set up the model, determine if accessible, bind listeners
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -9,6 +9,7 @@
|
||||
|
||||
# Use root for resource loading.
|
||||
root = h.url_for( '/static/' )
|
||||
root_api = h.url_for( '/' )
|
||||
%>
|
||||
## ----------------------------------------------------------------------------
|
||||
|
||||
@@ -24,7 +25,7 @@ ${h.stylesheet_link( root + 'plugins/visualizations/scatterplot/static/scatterpl
|
||||
|
||||
## ----------------------------------------------------------------------------
|
||||
<script type="text/javascript">
|
||||
window.Galaxy = { root: '${ root }' };
|
||||
window.Galaxy = { root: '${ root }', root_api: '${ root_api }' };
|
||||
</script>
|
||||
${h.javascript_link( root + 'plugins/visualizations/scatterplot/static/scatterplot.js' )}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user