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:
fd21312
)
Warn of deprecated fn $.crmAccordions
author
Coleman Watts
<coleman@civicrm.org>
Fri, 2 Jan 2015 18:42:46 +0000
(13:42 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Fri, 2 Jan 2015 18:42:54 +0000
(13:42 -0500)
This function has been deprecated and will be removed in the future.
js/Common.js
patch
|
blob
|
blame
|
history
diff --git
a/js/Common.js
b/js/Common.js
index 26ae4cfaf18c5e2be58409bc7dcadb59ee368c97..a4bafbe12e845f676fa24e2adb81fe44d8f6eb1a 100644
(file)
--- a/
js/Common.js
+++ b/
js/Common.js
@@
-1017,7
+1017,9
@@
CRM.strings = CRM.strings || {};
/**
* @deprecated
*/
- $.fn.crmAccordions = function () {};
+ $.fn.crmAccordions = function () {
+ CRM.console('warn', 'Warning: $.crmAccordions was called. This function is deprecated and should not be used.');
+ };
/**
* Collapse or expand an accordion
* @param speed