Skip to content

Commit

Permalink
Merge pull request #105 from kbase/URO-183
Browse files Browse the repository at this point in the history
use _top not _parent (breaks jgi search tab), use & not ? [URO-183]
  • Loading branch information
eapearson committed Nov 17, 2023
2 parents f767a17 + 2d3a152 commit 2d59e79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugin/iframe_root/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<base target="_parent" />
<base target="_top" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no" />
<meta name="theme-color" content="#000000" />
Expand Down
4 changes: 2 additions & 2 deletions src/plugin/iframe_root/modules/components/navBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ define(['knockout', 'kb_knockout/registry', 'kb_lib/html'], function (ko, reg, h
{
dataBind: {
attr: {
href: '"/#jgi-search?q=" + searchInputQueryValue()'
href: '"/#jgi-search&q=" + searchInputQueryValue()'
}
},
class: styles.classes.navLink,
target: '_parent'
target: '_top'
},
'JGI'
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define([
const featureId = 'y'; // m[5];
// e.g. https://ci.kbase.us/#dataview/29768/2?sub=Feature&subid=b0001
const subObjectRef = objectRef +
'?sub=' + featureType +
'&sub=' + featureType +
'&subid=' + featureId;

// const objectRef = m.slice(1, 4).join('/');
Expand Down

0 comments on commit 2d59e79

Please sign in to comment.