mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 17:46:52 +00:00
fix #4328: ui: add widget toolkit to dependencies of OnlineHelpInfo.js
previously the widget toolkit was not scanned when creating the mapping between `onlineHelp` keys and pve-doc anchors. this could lead to cases where help buttons didn't work because the necessary mapping wasn't present in `OnlineHelpInfo.js`. Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
This commit is contained in:
parent
90a7d2cda9
commit
dd6de395dc
1
debian/control
vendored
1
debian/control
vendored
@ -19,6 +19,7 @@ Build-Depends: debhelper (>= 12~),
|
|||||||
libtemplate-perl,
|
libtemplate-perl,
|
||||||
libtest-mockmodule-perl,
|
libtest-mockmodule-perl,
|
||||||
lintian,
|
lintian,
|
||||||
|
proxmox-widget-toolkit (>= 3.4-9),
|
||||||
pve-cluster,
|
pve-cluster,
|
||||||
pve-container,
|
pve-container,
|
||||||
pve-doc-generator (>= 7.0-4),
|
pve-doc-generator (>= 7.0-4),
|
||||||
|
@ -288,6 +288,8 @@ JSSRC= \
|
|||||||
Workspace.js \
|
Workspace.js \
|
||||||
# end of JSSRC list
|
# end of JSSRC list
|
||||||
|
|
||||||
|
WIDGETKIT=/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
.lint-incremental: ${JSSRC}
|
.lint-incremental: ${JSSRC}
|
||||||
@ -304,8 +306,8 @@ pvemanagerlib.js: .lint-incremental OnlineHelpInfo.js ${JSSRC}
|
|||||||
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
OnlineHelpInfo.js: /usr/bin/asciidoc-pve ${JSSRC}
|
OnlineHelpInfo.js: ${JSSRC} ${WIDGETKIT}
|
||||||
/usr/bin/asciidoc-pve scan-extjs ${JSSRC} >$@.tmp
|
/usr/bin/asciidoc-pve scan-extjs $^ >$@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
|
Loading…
Reference in New Issue
Block a user