mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8268866: Javascript when used in an iframe cannot display search results
Reviewed-by: jjg
This commit is contained in:
parent
5ba5e21fd2
commit
6013d09e82
@ -359,11 +359,7 @@ $(function() {
|
||||
} else if (ui.item.category === catSearchTags) {
|
||||
url += ui.item.u;
|
||||
}
|
||||
if (top !== window) {
|
||||
parent.classFrame.location = pathtoroot + url;
|
||||
} else {
|
||||
window.location.href = pathtoroot + url;
|
||||
}
|
||||
window.location.href = pathtoroot + url;
|
||||
$("#search-input").focus();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user