From c6fb3d6f4112f5e8b099218a9551e9806356b100 Mon Sep 17 00:00:00 2001
From: Hiroyasu Nishiyama <hiroyasu.nishiyama.uq@hitachi.com>
Date: Sun, 21 Jan 2018 20:46:57 +0900
Subject: [PATCH] make selector of "joined using" filed shown correctly (#1568)

make selector of "joined using" field shown correctly
---
 nodes/core/logic/17-split.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/nodes/core/logic/17-split.html b/nodes/core/logic/17-split.html
index 651a4702e..592516d38 100644
--- a/nodes/core/logic/17-split.html
+++ b/nodes/core/logic/17-split.html
@@ -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}]);
                 }