commit/galaxy-central: jgoecks: Fix bug in setting shared visualization's viewport.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/04d8beeae538/ changeset: 04d8beeae538 user: jgoecks date: 2011-10-04 16:14:25 summary: Fix bug in setting shared visualization's viewport. affected #: 1 file (-1 bytes) --- a/templates/visualization/display.mako Tue Oct 04 09:38:33 2011 +1100 +++ b/templates/visualization/display.mako Tue Oct 04 10:14:25 2011 -0400 @@ -92,7 +92,8 @@ 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')}", callback, + "${config.get('vis_id')}", "${config.get('dbkey')}", + JSON.parse('${ h.to_json_string( config.get( 'viewport', dict() ) ) }'), JSON.parse('${ h.to_json_string( config.get('tracks') ) }'), 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