From: monishdeb Date: Fri, 18 Jul 2014 17:30:53 +0000 (+0530) Subject: minor change X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2b953f5109947d43f23454c902e706a59ddb5053;p=civicrm-core.git minor change --- diff --git a/templates/CRM/common/stateCountry.tpl b/templates/CRM/common/stateCountry.tpl index 4afb8f4b61..90f7274d58 100644 --- a/templates/CRM/common/stateCountry.tpl +++ b/templates/CRM/common/stateCountry.tpl @@ -51,15 +51,13 @@ $.getJSON(info.callback, {_value: $(this).val()}, function(data) { var options = ''; $.each(data, function() { - if (this.value) { + if (this.name) { options += ''; } }); info.target.html(options).val(val).trigger('change'); }); } - } else { - info.target.trigger('change'); } } {/literal}