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:
0325d00
)
msgtplui - Load real list of examples
author
Tim Otten
<totten@civicrm.org>
Thu, 29 Jul 2021 04:00:14 +0000
(21:00 -0700)
committer
CiviCRM
<info@civicrm.org>
Fri, 24 Sep 2021 04:04:30 +0000
(21:04 -0700)
ext/msgtplui/ang/msgtplui/Edit.js
patch
|
blob
|
blame
|
history
diff --git
a/ext/msgtplui/ang/msgtplui/Edit.js
b/ext/msgtplui/ang/msgtplui/Edit.js
index 5b3d4c74dbd85bbd031a8edae8f8d84f3825ed48..306739faf1020873012e9ba901c6c3f91f894cb1 100644
(file)
--- a/
ext/msgtplui/ang/msgtplui/Edit.js
+++ b/
ext/msgtplui/ang/msgtplui/Edit.js
@@
-267,7
+267,7
@@
crmApi4('WorkflowMessageExample', 'get', {
// FIXME: workflow name
- where: [["tags", "CONTAINS", "preview"], ["workflow", "=",
"case_activity"
]],
+ where: [["tags", "CONTAINS", "preview"], ["workflow", "=",
$ctrl.records.main.workflow_name
]],
limit: 25
}).then(function(workflowMessageExamples) {
defaults.exampleName = workflowMessageExamples.length > 0 ? workflowMessageExamples[0].name : null;