CRM-14996 - Support multi-valued fields for state/country chain-select
authorColeman Watts <coleman@civicrm.org>
Thu, 21 Aug 2014 19:45:38 +0000 (20:45 +0100)
committerColeman Watts <coleman@civicrm.org>
Thu, 21 Aug 2014 20:26:39 +0000 (21:26 +0100)
commit38f05e5b0d5f77ff53e91ad13fde08699f30dc66
treea7ad5a2b33d053d1a42d043c688ef87c704b8c4f
parent2c13688cea8ad5a175a4747a2eb57d26e8399ed1
CRM-14996 - Support multi-valued fields for state/country chain-select

When selecting more than one, it groups the results into option groups for better usability.
Applies select2 to all chain-select fields to avoid any push-me/pull-me in future patches to the js
(e.g. fixing the code to work for normal selects and breaking select2 and vice-versa).
CRM/Contact/Form/Search/Criteria.php
CRM/Core/Page/AJAX/Location.php
css/civicrm.css
templates/CRM/common/stateCountry.tpl