projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port test form earlier PR
[civicrm-core.git]
/
ang
/
crmAttachment.ang.php
diff --git
a/ang/crmAttachment.ang.php
b/ang/crmAttachment.ang.php
index 6adbd0c74e754f13bc849ae549fa9ea2df30bf0d..1eb70913971c0e165f6f2f8663dd4e323bdd6f9a 100644
(file)
--- a/
ang/crmAttachment.ang.php
+++ b/
ang/crmAttachment.ang.php
@@
-5,8
+5,6
@@
return [
'js' => ['ang/crmAttachment.js'],
'css' => ['ang/crmAttachment.css'],
'partials' => ['ang/crmAttachment'],
'js' => ['ang/crmAttachment.js'],
'css' => ['ang/crmAttachment.css'],
'partials' => ['ang/crmAttachment'],
- 'settings' => [
- 'token' => \CRM_Core_Page_AJAX_Attachment::createToken(),
- ],
+ 'settingsFactory' => ['CRM_Core_Page_AJAX_Attachment', 'angularSettings'],
'requires' => ['angularFileUpload', 'crmResource'],
];
'requires' => ['angularFileUpload', 'crmResource'],
];