Browse Source

DIV-222

pull/160/head
Mike Olund 8 years ago
parent
commit
9a5fddd002
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      edivorce/apps/core/static/js/controllers.js

+ 1
- 1
edivorce/apps/core/static/js/controllers.js View File

@ -75,7 +75,7 @@ var childSupportCheckboxControl = function(el) {
var radioWithTextboxControl = function(el){
// If radio button has other as an option and 'Other' is not selected, update other textbox to empty
if (el.is(".radio-with-other") && el.val() != 'Other'){
var otherTextBox = $(".other-textbox");
var otherTextBox = el.closest('div.radio').parent().find(".other-textbox");
otherTextBox.val('');
ajaxCall(otherTextBox.prop('name'), '');
}


Loading…
Cancel
Save