Permalink
Browse files

Merge pull request #9 from icecaster/patch-1

ENHANCEMENT: use CountryDropDownField instead of DropdownField
  • Loading branch information...
2 parents bbc6d71 + c72d7f0 commit c957af1c290d8f54967718c742dff2e86c12bc51 @wilr wilr committed Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/editor/EditableCountryDropdownField.php
@@ -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) {

0 comments on commit c957af1

Please sign in to comment.