Initialization Bug Fixed

This commit is contained in:
Luis Fernando Molina committed 2020-07-08 11:22:37 +02:00
1 parent 7ea65f7d68
commit 07d72e2ce0
2 files changed
+5 -10

No files matched your search

@@ -5,9 +5,9 @@ function newOnFocus () {
return thisObject
function getNodeThatIsOnFocus (node) {
if (node === undefined) { return }
if (node === undefined || node === null) { return }
if (node.payload === undefined) { return }
let nodeDefinition = getNodeDefinition (node)
let nodeDefinition = getNodeDefinition(node)
if (nodeDefinition !== undefined) {
/* First we ask the question to ourself */
if (node.payload.uiObject.isOnFocus === true) {