patch from Petr Cimprich petr@gingerall.cz to allow the output to be nested in a frameset.

refer to parent.frames, instead of top.frames in navToGroup functions.
This commit is contained in:
rginda%netscape.com 2001-12-15 03:09:00 +00:00
Родитель 7b72504aa0
Коммит f1eb7904e7
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -111,7 +111,7 @@ my $JS_COMPLETE = ("\n<script>\n" .
" window.document.location.hash=entry;\n" . " window.document.location.hash=entry;\n" .
"}\n" . "}\n" .
"function navToGroup(group) {\n" . "function navToGroup(group) {\n" .
" var f = top.frames['toc-container'];\n" . " var f = parent.frames['toc-container'];\n" .
" if (!f)\n". " if (!f)\n".
" window.open ('complete-toc.html#' + group, " . " window.open ('complete-toc.html#' + group, " .
"'toc_container');\n" . "'toc_container');\n" .
@ -129,7 +129,7 @@ my $JS_SPARSE = ("\n<script>\n" .
" window.document.location.href='api-' + entry + '.html';\n" . " window.document.location.href='api-' + entry + '.html';\n" .
"}\n" . "}\n" .
"function navToGroup(group) {\n" . "function navToGroup(group) {\n" .
" var f = top.frames['toc-container'];\n" . " var f = parent.frames['toc-container'];\n" .
" if (!f)\n". " if (!f)\n".
" window.open ('sparse-toc.html#' + group, " . " window.open ('sparse-toc.html#' + group, " .
"'toc_container');\n" . "'toc_container');\n" .