Skip to content

Commit

Permalink
Fix revision selection during installation
Browse files Browse the repository at this point in the history
Without this the model would be refetched and would remain at the initial
changeset revision.
  • Loading branch information
mvdbeek committed Nov 6, 2017
1 parent 128b0a2 commit 38ec399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/galaxy/scripts/mvc/toolshed/repository-view.js
Expand Up @@ -59,7 +59,7 @@ var ToolShedRepositoryView = Backbone.View.extend({
.text();
that.options.current_metadata = that.options.repository.metadata[that.options.current_changeset];
that.checkInstalled(that.options.current_metadata);
that.reDraw();
that.reDraw(that.options);
});
$("#tool_panel_section_select").on("change", () => {
that.tpsSelection();
Expand Down Expand Up @@ -250,7 +250,7 @@ var ToolShedRepositoryView = Backbone.View.extend({

reDraw: function(options) {
this.$el.empty();
this.initialize(options);
this.render(options);
},

repoQueued: function(metadata) {
Expand Down

0 comments on commit 38ec399

Please sign in to comment.