mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-25 19:07:52 +00:00
panel: AuthView: use help link from schema if set
This can be used to set the `onlineHelp` identifier in the schema as opposed to in the panel directly. Needed e.g. to share a panel between PAM and PBS realm. Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
parent
be8cb1efb4
commit
b4b36ef29a
@ -44,11 +44,12 @@ Ext.define('Proxmox.panel.AuthView', {
|
||||
|
||||
openEditWindow: function(authType, realm) {
|
||||
let me = this;
|
||||
const { useTypeInUrl } = Proxmox.Schema.authDomains[authType];
|
||||
const { useTypeInUrl, onlineHelp } = Proxmox.Schema.authDomains[authType];
|
||||
|
||||
Ext.create('Proxmox.window.AuthEditBase', {
|
||||
baseUrl: me.baseUrl,
|
||||
useTypeInUrl,
|
||||
onlineHelp,
|
||||
authType,
|
||||
realm,
|
||||
listeners: {
|
||||
|
Loading…
Reference in New Issue
Block a user