+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
*
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
if ($form->_eventId &&
($currency = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $form->_eventId, 'currency'))
) {
- $config = CRM_Core_Config::singleton();
- $config->defaultCurrency = $currency;
+ CRM_Core_Config::singleton()->defaultCurrency = $currency;
}
}
0 => ts('- select -'),
) + $discounts,
FALSE,
- array('onchange' => "buildFeeBlock( {$form->_eventId}, this.value );")
+ array('class' => "crm-select2")
);
if ($form->_online) {