Permalink
Browse files

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

  • Loading branch information...
1 parent a9fa281 commit 218037b8cfead40b0b724821bb2868fe7655cd0f @chillu chillu committed Jun 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 forms/CountryDropdownField.php
View
2 forms/CountryDropdownField.php
@@ -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

0 comments on commit 218037b

Please sign in to comment.