changeset 2764:d952a6c3fc17

Merge branch 'master' into vnext
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Fri, 21 Apr 2017 11:22:13 +0100
parents bc9016b5d32f (current diff) 9d31ddedae2b (diff)
children 6ff75d546f3e
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Wed Apr 19 10:59:49 2017 +0100
+++ b/js/core.js	Fri Apr 21 11:22:13 2017 +0100
@@ -596,7 +596,7 @@
             } else {
                 jumpID = condition.jumpToOnFail;
             }
-            if (jumpID !== undefined) {
+            if (jumpID !== null) {
                 jumpToId.call(this, jumpID);
                 break;
             }
@@ -828,7 +828,7 @@
             }
             i++;
         }
-        processConditional.call(this, node, node.response);
+        processConditional.call(this, node, node.response.name);
         return true;
     }