|
|
@ -101,6 +101,7 @@ angular.module('myApp.controllers', ['myApp.i18n']) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function selectPhoneCountryByIso2 (countryIso2) { |
|
|
|
function selectPhoneCountryByIso2 (countryIso2) { |
|
|
|
|
|
|
|
if (countryIso2) { |
|
|
|
var i, country; |
|
|
|
var i, country; |
|
|
|
for (i = 0; i < Config.CountryCodes.length; i++) { |
|
|
|
for (i = 0; i < Config.CountryCodes.length; i++) { |
|
|
|
country = Config.CountryCodes[i]; |
|
|
|
country = Config.CountryCodes[i]; |
|
|
@ -108,6 +109,7 @@ angular.module('myApp.controllers', ['myApp.i18n']) |
|
|
|
return selectCountry({name: _(country[1] + '_raw'), code: country[2]}); |
|
|
|
return selectCountry({name: _(country[1] + '_raw'), code: country[2]}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return selectCountry({name: _('country_select_modal_country_us_raw'), code: '+1'}); |
|
|
|
return selectCountry({name: _('country_select_modal_country_us_raw'), code: '+1'}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|