Merge pull request #9 from icecaster/patch-1

ENHANCEMENT: use CountryDropDownField instead of DropdownField
This commit is contained in:
Will Rossiter 2012-03-22 15:32:05 -07:00
commit c957af1c29

View File

@ -12,7 +12,7 @@ class EditableCountryDropdownField extends EditableFormField {
static $plural_name = 'Country Dropdowns';
public function getFormField() {
return new DropdownField($this->Name, $this->Title, Geoip::getCountryDropDown());
return new CountryDropdownField($this->Name, $this->Title);
}
public function getValueFromData($data) {