Skip to content

Commit

Permalink
Link sharing base from history panel
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed May 3, 2018
1 parent 7a17244 commit 17772d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/galaxy/scripts/mvc/history/options-menu.js
Expand Up @@ -46,7 +46,11 @@ var menu = [
},
{
html: _l("Share or Publish"),
href: "history/sharing"
func: function() {
if (Galaxy && Galaxy.currHistoryPanel && Galaxy.router) {
Galaxy.router.push(`/histories/sharing?id=${Galaxy.currHistoryPanel.model.id}`);
}
}
},
{
html: _l("Show Structure"),
Expand Down

0 comments on commit 17772d1

Please sign in to comment.