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:
29d7a6e
)
CRM-14798 - crmCaseType - Set default values of "Reference" fields
author
totten@civicrm.org
<Tim Otten>
Thu, 26 Jun 2014 06:23:36 +0000
(23:23 -0700)
committer
totten@civicrm.org
<Tim Otten>
Thu, 26 Jun 2014 06:30:27 +0000
(23:30 -0700)
js/angular-crmCaseType.js
patch
|
blob
|
blame
|
history
diff --git
a/js/angular-crmCaseType.js
b/js/angular-crmCaseType.js
index 5670a92dc16f0fb7993d603e85e6bdb979688d5e..d24fe4ea2dede91013bc4b4d3f89be1ff00d8e1f 100644
(file)
--- a/
js/angular-crmCaseType.js
+++ b/
js/angular-crmCaseType.js
@@
-139,7
+139,11
@@
/// Add a new activity entry to an activity-set
$scope.addActivity = function(activitySet, activityType) {
activitySet.activityTypes.push({
- name: activityType
+ name: activityType,
+ status: 'Scheduled',
+ reference_activity: 'Open Case',
+ reference_offset: '1',
+ reference_select: 'newest'
});
if (!_.contains($scope.activityTypeNames, activityType)) {
$scope.activityTypeNames.push(activityType);