Skip to content

Commit

Permalink
Multi-history: open rerun button in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
carlfeberhard committed Apr 14, 2016
1 parent c0d6509 commit 03c8573
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 27 deletions.
6 changes: 6 additions & 0 deletions client/galaxy/scripts/mvc/history/multi-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ var HistoryViewColumn = Backbone.View.extend( baseMVC.LoggableMixin ).extend({
// assumes panel will take the longest to render
'rendered': function(){
column.trigger( 'rendered', column );
},
// when a panel's view expands turn off the click handler on the rerun button so that it uses it's href
// this allows the button to open the tool rerun form in a new tab (instead of erroring)
// TODO: hack
'view:expanded view:rendered': function( view ){
view.$( '.rerun-btn' ).off();
}
}, this );
},
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/history/multi-panel.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions static/scripts/bundled/analysis.bundled.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/analysis.bundled.js.map

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions static/scripts/bundled/libs.bundled.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/bundled/libs.bundled.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/scripts/mvc/history/multi-panel.js

Large diffs are not rendered by default.

0 comments on commit 03c8573

Please sign in to comment.