mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
2478a7194e
commit
a12826e719
@ -492,12 +492,12 @@
|
|||||||
let ok = true;
|
let ok = true;
|
||||||
if ($("#node-config-input-clientid").length) {
|
if ($("#node-config-input-clientid").length) {
|
||||||
// Currently editing the node
|
// Currently editing the node
|
||||||
let needClientId = !$("#node-config-input-cleansession").is(":checked") || !$("#node-config-input-autoUnsubscribe").is(":checked")
|
let needClientId = !$("#node-config-input-cleansession").is(":checked")
|
||||||
if (needClientId) {
|
if (needClientId) {
|
||||||
ok = (v||"").length > 0;
|
ok = (v||"").length > 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let needClientId = !(this.cleansession===undefined || this.cleansession) || this.autoUnsubscribe;
|
let needClientId = !(this.cleansession===undefined || this.cleansession)
|
||||||
if (needClientId) {
|
if (needClientId) {
|
||||||
ok = (v||"").length > 0;
|
ok = (v||"").length > 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user