Skip to content

Commit

Permalink
Fix target handling
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jun 7, 2017
1 parent c330558 commit 72d0385
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion client/galaxy/scripts/mvc/history/options-menu.js
Expand Up @@ -17,6 +17,8 @@ var menu = [
{
html : _l( 'Saved Histories' ),
href : 'histories/list',
target : '_top'

},
{
html : _l( 'Histories Shared with Me' ),
Expand Down Expand Up @@ -205,7 +207,7 @@ function buildMenu( isAnon, purgeAllowed, urlRoot ){
//TODO:?? hard-coded galaxy_main
if( menuOption.href ){
menuOption.href = urlRoot + menuOption.href;
menuOption.target = 'galaxy_main';
menuOption.target = menuOption.target || 'galaxy_main';
}

if( menuOption.confirm ){
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/history/options-menu.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 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.

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/options-menu.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 72d0385

Please sign in to comment.