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/red/ui/editor.js | |
parent | c125359c8fe20863d8773ab31ceee67660328093 (diff) | |
parent | 8797a459b6a5c4516032260cc55663e08a2ab538 (diff) |
Merge "[CCSDK-683] fixed dg import from local git repo"
Diffstat (limited to 'dgbuilder/public/red/ui/editor.js')
-rw-r--r-- | dgbuilder/public/red/ui/editor.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dgbuilder/public/red/ui/editor.js b/dgbuilder/public/red/ui/editor.js index 174af961..cae74d08 100644 --- a/dgbuilder/public/red/ui/editor.js +++ b/dgbuilder/public/red/ui/editor.js @@ -234,6 +234,11 @@ RED.editor = (function() { } } } else if (RED.view.state() == RED.state.IMPORT) { + var nodeSet = getCurrentFlowNodeSet(); + //console.dir(nodeSet); + if(nodeSet != null && nodeSet.length == 0){ + RED.view.setIsImportAction(true); + } RED.view.importNodes($("#node-input-import").val()); } $( this ).dialog( "close" ); |