Sending the Definition via Events Part 1

This commit is contained in:
Luis Fernando Molina committed 2019-09-12 13:02:02 +02:00
1 parent c14b03a25b
commit 7e369c722b
3 files changed
+19 -7

No files matched your search

+3 -3
View File
@@ -11,7 +11,7 @@ function newWorkspace () {
enabled: false,
nodeChildren: undefined,
onMenuItemClick: onMenuItemClick,
getProtocolTradingSystem: getProtocolTradingSystem,
getProtocolDefinitionNode: getProtocolDefinitionNode,
physics: physics,
spawn: spawn,
detachNode: detachNode,
@@ -98,8 +98,8 @@ function newWorkspace () {
}
}
function getProtocolTradingSystem () {
return functionLibraryProtocolNode.getProtocolNode(thisObject.definition)
function getProtocolDefinitionNode () {
return functionLibraryProtocolNode.getProtocolNode(thisObject.definition, false, true, true) // <- We need to do this workaround in order no to send unescaped charactars through a system event.
}
function detachNode (node) {