followup: do not name field as me, which is reserverd for this

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-22 18:24:24 +02:00
parent a06e43f060
commit 2dddf3ba59

View File

@ -54,8 +54,8 @@ Ext.define('PVE.panel.LDAPInputPanel', {
name: 'secure',
uncheckedValue: 0,
listeners: {
change: function(me, newValue) {
let verifyCheckbox = me.nextSibling('proxmoxcheckbox[name=verify]');
change: function(field, newValue) {
let verifyCheckbox = field.nextSibling('proxmoxcheckbox[name=verify]');
if (newValue === true) {
verifyCheckbox.enable();
} else {