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

Commit

Permalink
Merge pull request #160 from clint-tseng/cxlt/159
Browse files Browse the repository at this point in the history
ui/bug #159: NPE on accessing successor property value.
  • Loading branch information
lognaturel committed Jun 5, 2017
2 parents a471ca1 + 9a17eb0 commit 918b1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/control.js
Expand Up @@ -115,7 +115,7 @@

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

Expand Down

0 comments on commit 918b1f6

Please sign in to comment.