| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
),
);
if (!$this->_isGroupEmpty && !empty($this->_subtypes)) {
- $buttons[0]['js'] = array('onclick' => "return warnDataLoss()");
+ $buttons[0]['class'] = 'crm-warnDataLoss';
}
$this->addButtons($buttons);
}
return $relName;
}
+
}