aboutsummaryrefslogtreecommitdiffstats
path: root/dgbuilder/public/util
diff options
context:
space:
mode:
authorChinthakayala, Sheshashailavas <sc2914@att.com>2017-04-07 08:18:56 -0900
committerChinthakayala, Sheshashailavas <sc2914@att.com>2017-04-07 08:21:54 -0900
commit4cc1e4b946aedcf6c34550d1903e9bd13e6e160b (patch)
tree4f3369f83f381734fb9aebc3ae9d8ed026c21c99 /dgbuilder/public/util
parent76825594b6c95cf09d5142c0f9384a5b2bf9721e (diff)
[SDNC-5] added yang upload
and added break node Change-Id: I8d36b5d400a51a6ebc248b100f04284cf27abcad Signed-off-by: Chinthakayala, Sheshashailavas <sc2914@att.com> Former-commit-id: ae6804f3c5805f78198b26de88ceb6dfa9bb335b
Diffstat (limited to 'dgbuilder/public/util')
-rw-r--r--dgbuilder/public/util/js/dgeToXml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgbuilder/public/util/js/dgeToXml.js b/dgbuilder/public/util/js/dgeToXml.js
index 2bbb0c15..7582d275 100644
--- a/dgbuilder/public/util/js/dgeToXml.js
+++ b/dgbuilder/public/util/js/dgeToXml.js
@@ -522,7 +522,7 @@ function customValidation(currNodeSet){
}
//console.log("parentNodeType:" + parentNodeType);
- if(countChildLogicNodes >1 && parentNodeType != 'block' ){
+ if(countChildLogicNodes >1 && parentNodeType != 'block' && parentNodeType != 'for' ){
if(node.dgnumber != undefined && node.dgnumber){
flowDesignErrors.push("Warning:May need a block Node after Node. <br><span style='color:red'>Node Name:</span>" + node.name + "<br><span style='color:red'>DG Number:</span>" + node.dgnumber[0] );
}else{