1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/11ff61751765/ changeset: 11ff61751765 user: jgoecks date: 2012-02-17 05:02:14 summary: Trackster bug fixes. affected #: 2 files
diff -r a1a7bc41df0102598ba1a459307b23b319adc018 -r 11ff61751765906916738472eed403e166e438ec lib/galaxy/web/controllers/tracks.py --- a/lib/galaxy/web/controllers/tracks.py +++ b/lib/galaxy/web/controllers/tracks.py @@ -253,7 +253,8 @@ "dataset_id": trans.security.encode_id( dataset.id ), "prefs": {}, "filters": { 'filters' : track_data_provider.get_filters() }, - "tool": get_tool_def( trans, dataset ) + "tool": get_tool_def( trans, dataset ), + "tool_state": {} } return track
diff -r a1a7bc41df0102598ba1a459307b23b319adc018 -r 11ff61751765906916738472eed403e166e438ec templates/tracks/browser.mako --- a/templates/tracks/browser.mako +++ b/templates/tracks/browser.mako @@ -100,7 +100,7 @@ [ arguments[0] ] ); for (var i= 0; i < track_defs.length; i++) { - view.add_drawable( object_from_dict(track_defs[i], view) ); + view.add_drawable( object_from_template(track_defs[i], view) ); } }); hide_modal(); @@ -144,7 +144,6 @@ }).then( function(data) { for( i = 0; i < data.data.length; i++ ) { var row = data.data[i]; - console.log( row[0], row[1] ); add_bookmark( row[0], row[1] ); } }); @@ -181,7 +180,11 @@ init_editor(); %else: var continue_fn = function() { - view = create_visualization( $("#browser-container"), $("#new-title").val(), undefined, $("#new-dbkey").val() ); + view = create_visualization( { + container: $("#browser-container"), + name: $("#new-title").val(), + dbkey: $("#new-dbkey").val() + } ); view.editor = true; init_editor(); hide_modal(); @@ -193,7 +196,7 @@ success: function(form_html) { show_modal("New Visualization", form_html, { "Cancel": function() { window.location = "${h.url_for( controller='visualization', action='list' )}"; }, - "Continue": function() { $(document).trigger("convert_to_values"); continue_fn(); } + "Create": function() { $(document).trigger("convert_to_values"); continue_fn(); } }); $("#new-title").focus(); replace_big_select_inputs();
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.