Code Review
/
ccsdk
/
distribution.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[CCSDK-683] fixed dg import from local git repo"
[ccsdk/distribution.git]
/
dgbuilder
/
public
/
red
/
ui
/
editor.js
diff --git
a/dgbuilder/public/red/ui/editor.js
b/dgbuilder/public/red/ui/editor.js
index
174af96
..
cae74d0
100644
(file)
--- 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) {
}
}
} 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" );
RED.view.importNodes($("#node-input-import").val());
}
$( this ).dialog( "close" );