Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8215291: Broken links when generating from project without modules
Backport-of: cb55317
  • Loading branch information
basil authored and TheRealMDoerr committed Jul 3, 2022
1 parent c53e0fe commit 732d9bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -50,7 +50,7 @@ function getURLPrefix(ui) {
return ui.item.m + slash;
} else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) {
$.each(packageSearchIndex, function(index, item) {
if (ui.item.p == item.l) {
if (item.m && ui.item.p == item.l) {
urlPrefix = item.m + slash;
}
});
Expand Down
Expand Up @@ -644,7 +644,7 @@ void checkSearchJS() {
+ " return ui.item.m + slash;\n"
+ " } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) {\n"
+ " $.each(packageSearchIndex, function(index, item) {\n"
+ " if (ui.item.p == item.l) {\n"
+ " if (item.m && ui.item.p == item.l) {\n"
+ " urlPrefix = item.m + slash;\n"
+ " }\n"
+ " });\n"
Expand Down

1 comment on commit 732d9bc

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.