projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be9947d
)
Fix icons in popup buttons
author
Coleman Watts
<coleman@civicrm.org>
Thu, 3 Dec 2015 19:26:27 +0000
(14:26 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Thu, 3 Dec 2015 19:26:27 +0000
(14:26 -0500)
js/crm.ajax.js
patch
|
blob
|
blame
|
history
diff --git
a/js/crm.ajax.js
b/js/crm.ajax.js
index a1284a765c101bc2372bd872a0912660dff9b553..91565ef6030ff35b0dbb79c59ad9cfd51964f473 100644
(file)
--- a/
js/crm.ajax.js
+++ b/
js/crm.ajax.js
@@
-464,7
+464,7
@@
label = $el.is('input') ? $el.attr('value') : $el.text(),
identifier = $el.attr('name') || $el.attr('href');
if (!identifier || identifier === '#' || $.inArray(identifier, added) < 0) {
- var $icon = $el.find('.icon'),
+ var $icon = $el.find('.icon
, .crm-i
'),
button = {'data-identifier': identifier, text: label, click: function() {
$el[0].click();
}};