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 #12123 from eileenmcnaughton/membership_type
[civicrm-core.git]
/
js
/
Common.js
diff --git
a/js/Common.js
b/js/Common.js
index 15f3528b2d6ebe0a41911306dfe0b52890c946f7..43cc526b7213c192b4d2e000f7634bbe9720f7b6 100644
(file)
--- a/
js/Common.js
+++ b/
js/Common.js
@@
-1260,7
+1260,8
@@
if (!CRM.vars) CRM.vars = {};
if (title.length) {
text = title + "\n" + text;
}
- alert(text);
+ // strip html tags as they are not parsed in standard alerts
+ alert($("<div/>").html(text).text());
return null;
}
};