mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge release_16.01 into dev.
This commit is contained in:
@@ -23,12 +23,16 @@ ${h.css( 'base', 'jquery-ui/smoothness/jquery-ui')}
|
||||
${h.stylesheet_link( root + 'plugins/visualizations/scatterplot/static/scatterplot.css' )}
|
||||
|
||||
## ----------------------------------------------------------------------------
|
||||
<script type="text/javascript">
|
||||
// TODO: blah
|
||||
window.Galaxy = { root: '${ root }' };
|
||||
</script>
|
||||
${h.js( 'libs/jquery/jquery',
|
||||
'libs/jquery/jquery.migrate',
|
||||
'libs/jquery/jquery-ui',
|
||||
'libs/bootstrap',
|
||||
'libs/underscore',
|
||||
'libs/backbone/backbone',
|
||||
'libs/backbone',
|
||||
'libs/d3',
|
||||
'ui/peek-column-selector',
|
||||
'ui/pagination',
|
||||
@@ -40,7 +44,7 @@ ${h.javascript_link( root + 'plugins/visualizations/scatterplot/static/scatterpl
|
||||
function getModel(){
|
||||
return new ScatterplotModel({
|
||||
id : ${h.dumps( visualization_id )} || undefined,
|
||||
title : "${title}",
|
||||
title : "${title or default_title}",
|
||||
config : ${h.dumps( config, indent=2 )}
|
||||
});
|
||||
}
|
||||
@@ -87,7 +91,7 @@ function getHDAJSON(){
|
||||
hdaJSON = getHDAJSON(),
|
||||
editor = new ScatterplotConfigEditor({
|
||||
el : $( '.scatterplot-editor' ).attr( 'id', 'scatterplot-editor-hda-' + hdaJSON.id ),
|
||||
model : getModel(),
|
||||
model : model,
|
||||
dataset : hdaJSON
|
||||
}).render();
|
||||
window.editor = editor;
|
||||
|
||||
Reference in New Issue
Block a user