in Webapp/SDAF/wwwroot/js/site.js [729:744]
function overrulesHandler(source, target) {
if (target == null || target.Length == 0 || source == null || source.length == 0) {
return "";
}
var sourceVal = "";
if (source.options[source.selectedIndex] != null) {
sourceVal = (source.nodeName == "SELECT") ? source.options[source.selectedIndex].value : source.value;
}
if (sourceVal.length > 0) {
target.disabled = true;
$("#" + target.id).val(null).trigger('change');
}
else {
target.disabled = false;
}
}