From 2b953f5109947d43f23454c902e706a59ddb5053 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Fri, 18 Jul 2014 23:00:53 +0530 Subject: [PATCH] minor change --- templates/CRM/common/stateCountry.tpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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} -- 2.25.1