projects
/
org.fsf.memberdashboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3f7b3
)
js: Use better method for using civi's jquery.
author
David Thompson
<davet@gnu.org>
Wed, 5 Nov 2014 22:44:05 +0000
(17:44 -0500)
committer
David Thompson
<davet@gnu.org>
Wed, 5 Nov 2014 22:44:05 +0000
(17:44 -0500)
* assets/js/member-info.js: Use 'CRM.$'.
assets/js/member-info.js
patch
|
blob
|
blame
|
history
diff --git
a/assets/js/member-info.js
b/assets/js/member-info.js
index d3a5e4f150fa6af257673f03913fbd1e7a2935df..7158f054609600ef30adcde8846007be40ebbe5b 100644
(file)
--- a/
assets/js/member-info.js
+++ b/
assets/js/member-info.js
@@
-19,7
+19,7
@@
* <http://www.gnu.org/licenses/>.
*/
-(function($) {
+
CRM.$
(function($) {
function loadProfile(gid, success) {
$.get('/drupal/civicrm/profile/edit', {
gid: gid,
@@
-55,4
+55,4
@@
$(document).ready(function() {
loadProfile(memberDashboard.profileId, renderProfile);
});
-})
(jQuery)
;
+});