diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-08-16 09:31:10 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-08-16 14:42:52 +0200 |
commit | f0e9b27d338a12bb5c7631f3c935ba9969bd7db3 (patch) | |
tree | bc36349ff499367ce8f399839d3515324dd58ec2 /help3xsl/online_transform.xsl | |
parent | c8a4b91e10c89167a272f46966ac9c09bed8e711 (diff) |
Generate the modules dropdown content on demand too.
Change-Id: Ibcbd8faac4f31d41398d8ae98314d83690136ab6
Reviewed-on: https://gerrit.libreoffice.org/59152
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/59153
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r-- | help3xsl/online_transform.xsl | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index c98dff418f..b3b5ce1408 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -174,18 +174,9 @@ </div> </header> <div class="modules"> - <input id="modules" name="modules" type="checkbox"/> + <input id="modules" name="modules" type="checkbox" onchange="setupModules('{$target}', '{$lang}');"/> <label for="modules"><xsl:value-of select="$ui_module"/></label> - <nav> - <a href="{$target}{$lang}/text/swriter/main0000.html?DbPAR=WRITER"><div class="writer-icon"></div>Writer</a> - <a href="{$target}{$lang}/text/scalc/main0000.html?DbPAR=CALC"><div class="calc-icon"></div>Calc</a> - <a href="{$target}{$lang}/text/simpress/main0000.html?DbPAR=IMPRESS"><div class="impress-icon"></div>Impress</a> - <a href="{$target}{$lang}/text/sdraw/main0000.html?DbPAR=DRAW"><div class="draw-icon"></div>Draw</a> - <a href="{$target}{$lang}/text/shared/explorer/database/main.html?DbPAR=BASE"><div class="base-icon"></div>Base</a> - <a href="{$target}{$lang}/text/smath/main0000.html?DbPAR=MATH"><div class="math-icon"></div>Math</a> - <a href="{$target}{$lang}/text/schart/main0000.html?DbPAR=CHART"><div class="chart-icon"></div>Chart</a> - <a href="{$target}{$lang}/text/sbasic/shared/main0601.html?DbPAR=BASIC"><div class="basic-icon"></div>Basic</a> - </nav> + <nav id="modules-nav"/><!-- is filled in via setupModules() on demand --> </div> <xsl:if test="$online"> <div class="lang"> |