From: totten@civicrm.org Date: Thu, 26 Jun 2014 06:23:36 +0000 (-0700) Subject: CRM-14798 - crmCaseType - Set default values of "Reference" fields X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=183241d83a91629631982cc546a1361a09f766a3;p=civicrm-core.git CRM-14798 - crmCaseType - Set default values of "Reference" fields --- 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);