diff --git a/packages/node_modules/@node-red/nodes/core/function/rbe.html b/packages/node_modules/@node-red/nodes/core/function/rbe.html index 6f8938870..11ff18860 100644 --- a/packages/node_modules/@node-red/nodes/core/function/rbe.html +++ b/packages/node_modules/@node-red/nodes/core/function/rbe.html @@ -27,10 +27,14 @@ -
+
- + +
+
+ +
@@ -70,6 +74,10 @@ if (this.septopics === undefined) { $("#node-input-septopics").prop('checked', true); } + if (this.topi === undefined) { + $("#node-input-topi").val("topic"); + } + $("#node-input-property").typedInput({default:'msg',types:['msg']}); $("#node-input-topi").typedInput({default:'msg',types:['msg']}); //$( "#node-input-gap" ).spinner({min:0}); @@ -88,6 +96,11 @@ $("#node-startvalue").hide(); } }); + $("#node-input-septopics").on("change", function() { + $("#node-input-topi").typedInput("disable",!this.checked); + }) + $("#node-input-topi").typedInput("disable",!!!this.septopics); + } });