projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #4983 from colemanw/CRM-15842
[civicrm-core.git]
/
CRM
/
Custom
/
Form
/
Group.php
diff --git
a/CRM/Custom/Form/Group.php
b/CRM/Custom/Form/Group.php
index 806f45272d44a36272c1b4d2465b890b34f519cb..8f88a64ac70541e70fd09060704726290517bb3e 100644
(file)
--- a/
CRM/Custom/Form/Group.php
+++ b/
CRM/Custom/Form/Group.php
@@
-387,7
+387,7
@@
class CRM_Custom_Form_Group extends CRM_Core_Form {
),
);
if (!$this->_isGroupEmpty && !empty($this->_subtypes)) {
- $buttons[0]['
js'] = array('onclick' => "return warnDataLoss()")
;
+ $buttons[0]['
class'] = 'crm-warnDataLoss'
;
}
$this->addButtons($buttons);