projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Angular - Support popping up an afform or other ang module via ajax modal
[civicrm-core.git]
/
js
/
crm.ajax.js
diff --git
a/js/crm.ajax.js
b/js/crm.ajax.js
index 57ed34f9932a7d2f83a7c1573c10d20052dd7db5..2c892bfceac34248d0a852be3158b475cd0da919 100644
(file)
--- a/
js/crm.ajax.js
+++ b/
js/crm.ajax.js
@@
-273,6
+273,9
@@
} else {
url = url.replace(/snippet=[^&]*/, 'snippet=' + snippetType);
}
+ if (snippetType === 'json' && CRM.angular) {
+ url += '&crmAngularModules=' + CRM.angular.modules.join();
+ }
}
return url;
},