Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add .dropdown class to CountryDropdownField to make it use chosen.js

  • Loading branch information...
commit 218037b8cfead40b0b724821bb2868fe7655cd0f 1 parent a9fa281
Ingo Schommer chillu authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  forms/CountryDropdownField.php
2  forms/CountryDropdownField.php
View
@@ -19,6 +19,8 @@ class CountryDropdownField extends DropdownField {
*/
static $default_country = 'NZ';
+ protected $extraClasses = array('dropdown');
+
/**
* Get the locale of the Member, or if we're not logged in or don't have a locale, use the default one
* @return string
Please sign in to comment.
Something went wrong with that request. Please try again.