mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-26 04:00:54 +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) {
|
openEditWindow: function(authType, realm) {
|
||||||
let me = this;
|
let me = this;
|
||||||
const { useTypeInUrl } = Proxmox.Schema.authDomains[authType];
|
const { useTypeInUrl, onlineHelp } = Proxmox.Schema.authDomains[authType];
|
||||||
|
|
||||||
Ext.create('Proxmox.window.AuthEditBase', {
|
Ext.create('Proxmox.window.AuthEditBase', {
|
||||||
baseUrl: me.baseUrl,
|
baseUrl: me.baseUrl,
|
||||||
useTypeInUrl,
|
useTypeInUrl,
|
||||||
|
onlineHelp,
|
||||||
authType,
|
authType,
|
||||||
realm,
|
realm,
|
||||||
listeners: {
|
listeners: {
|
||||||
|
Loading…
Reference in New Issue
Block a user