Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
PT-2789: Pressing 'None of the above..' button doesn't clear 'As of' …
Browse files Browse the repository at this point in the history
…drop down value.

Fixed.
  • Loading branch information
veronikaslc committed Oct 11, 2016
1 parent 8cee15e commit 605c757
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -975,11 +975,8 @@ define([
var _this = this;
noneButton.observe('click', function(event) {
for (var i = 0; i < cancersUIElements.length; i++) {
// clear age if previous value was not "unaffected". If it is "unaffected"
// already it will get overwritten by current age if age is known, or stay as it currently is otherwise
if (cancersUIElements[i].status.value != "unaffected") {
cancersUIElements[i].age.value = "";
}
// clear age. It will get overwritten by current age if age is known
cancersUIElements[i].age.value = "";
cancersUIElements[i].status.value = "unaffected";
cancersUIElements[i].enableNotes();
cancersUIElements[i].age.enable();
Expand Down

0 comments on commit 605c757

Please sign in to comment.