commit/galaxy-central: jgoecks: Trackster: fix display of shared/embedded visualizations.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/d2c3bbbccf66/ changeset: d2c3bbbccf66 user: jgoecks date: 2012-02-22 17:05:31 summary: Trackster: fix display of shared/embedded visualizations. affected #: 1 file diff -r 405be33f6565c486b65a4bde33883572e1722eb0 -r d2c3bbbccf664c012b93187b07a04eecf6fdf4c6 templates/visualization/display.mako --- a/templates/visualization/display.mako +++ b/templates/visualization/display.mako @@ -91,8 +91,12 @@ %if 'viewport' in config: var callback = function() { view.change_chrom( '${config['viewport']['chrom']}', ${config['viewport']['start']}, ${config['viewport']['end']} ); } %endif - view = create_visualization( container_element, "${config.get('title') | h}", - "${config.get('vis_id')}", "${config.get('dbkey')}", + view = create_visualization( { + container: container_element, + name: "${config.get('title') | h}", + vis_id: "${config.get('vis_id')}", + dbkey: "${config.get('dbkey')}" + }, JSON.parse('${ h.to_json_string( config.get( 'viewport', dict() ) ) }'), JSON.parse('${ h.to_json_string( config['tracks'] ).replace("'", "\\'") }'), JSON.parse('${ h.to_json_string( config.get('bookmarks') ) }') Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket