diff options
author | Dan Timoney <dtimoney@att.com> | 2018-11-19 22:38:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-11-19 22:38:06 +0000 |
commit | fc59bbb6279e492dea2fa361c7080163f3f888ea (patch) | |
tree | 8a71a25cb3f68d728bc2c2b0187baabcda342494 /dgbuilder/public/util | |
parent | c125359c8fe20863d8773ab31ceee67660328093 (diff) | |
parent | 8797a459b6a5c4516032260cc55663e08a2ab538 (diff) |
Merge "[CCSDK-683] fixed dg import from local git repo"
Diffstat (limited to 'dgbuilder/public/util')
-rw-r--r-- | dgbuilder/public/util/js/dgeToXml.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dgbuilder/public/util/js/dgeToXml.js b/dgbuilder/public/util/js/dgeToXml.js index e99d6495..7e5c9721 100644 --- a/dgbuilder/public/util/js/dgeToXml.js +++ b/dgbuilder/public/util/js/dgeToXml.js @@ -773,6 +773,11 @@ var jqxhr = $.post( "/getSharedFlow",{"filePath":filePath}) .done(function(data) { $( "#dgflow-browser-dialog").dialog("close"); var migratedNodes = migrateNodes(data); + var nodeSet = getCurrentFlowNodeSet(); + //console.dir(nodeSet); + if(nodeSet != null && nodeSet.length == 0){ + RED.view.setIsImportAction(true); + } //RED.view.importNodes(data) RED.view.importNodes(JSON.stringify(migratedNodes)); //console.log( "import done"); |