From 183241d83a91629631982cc546a1361a09f766a3 Mon Sep 17 00:00:00 2001 From: "totten@civicrm.org" Date: Wed, 25 Jun 2014 23:23:36 -0700 Subject: [PATCH] CRM-14798 - crmCaseType - Set default values of "Reference" fields --- js/angular-crmCaseType.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/angular-crmCaseType.js b/js/angular-crmCaseType.js index 5670a92dc1..d24fe4ea2d 100644 --- 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); -- 2.25.1