1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

make selector of "joined using" filed shown correctly (#1568)

make selector of "joined using" field shown correctly
This commit is contained in:
Hiroyasu Nishiyama 2018-01-21 20:46:57 +09:00 committed by Dave Conway-Jones
parent ac3143811f
commit c6fb3d6f41

View File

@ -431,6 +431,9 @@
if (val === "auto") {
$("#node-input-accumulate").attr('checked', false);
}
else if (val === "custom") {
$("#node-input-build").change();
}
else if (val === "merge") {
var topics = node.topics;
var container = $("#node-input-topics-container");
@ -484,6 +487,7 @@
$(".node-row-trigger").toggle(val!=='auto');
if (val === 'string' || val==='buffer') {
$("#node-input-property").typedInput('types',['msg']);
$("#node-input-joiner").typedInput("show");
} else {
$("#node-input-property").typedInput('types',['msg', {value:"full",label:"complete message",hasValue:false}]);
}