Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit 9a17eb0

Browse files
committed
ui/bug #159: NPE on accessing successor property value.
* missed one nullcheck. * resolves #159.
1 parent 5b1a7bf commit 9a17eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/javascripts/control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116
// SPECIAL CASE:
117117
// update the followup question text from that value.
118-
if ((properties.other != null) && (properties.other.value !== false))
118+
if ((properties.other != null) && (properties.other.value != null) && (properties.other.value !== false))
119119
$info.find('.controlSuccessorCondition span').text(properties.other.value.join(' or '));
120120
};
121121

0 commit comments

Comments
 (0)