Skip to content

Commit

Permalink
Fix unused href parameter when adding scratchbook frames
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Aug 5, 2016
1 parent 8b0d88b commit 83d4ebd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/galaxy/scripts/layout/scratchbook.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ return Backbone.View.extend({
var $galaxy_main = $( window.parent.document ).find( '#galaxy_main' );
if ( options.target == 'galaxy_main' || options.target == 'center' ) {
if ( $galaxy_main.length === 0 ) {
window.location = options.url + ( href.indexOf( '?' ) == -1 ? '?' : '&' ) + 'use_panels=True';
window.location = options.url + ( options.url.indexOf( '?' ) == -1 ? '?' : '&' ) + 'use_panels=True';
} else {
$galaxy_main.attr( 'src', options.url );
}
Expand Down
2 changes: 1 addition & 1 deletion static/maps/layout/scratchbook.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/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/layout/scratchbook.js

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

0 comments on commit 83d4ebd

Please sign in to comment.