From b387506c3559810c23bb8b2a52070c7ff6af55a5 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 27 May 2014 21:05:11 -0700 Subject: [PATCH] CRM-14727 - crmCaseType - Use the "" tag instead of "" tag --- js/angular-crmCaseType.js | 10 +++++----- partials/crmCaseType/edit.html | 2 +- .../{pipelineTable.html => sequenceTable.html} | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename partials/crmCaseType/{pipelineTable.html => sequenceTable.html} (100%) diff --git a/js/angular-crmCaseType.js b/js/angular-crmCaseType.js index 7f2fe2dc1b..afc457787c 100644 --- a/js/angular-crmCaseType.js +++ b/js/angular-crmCaseType.js @@ -65,7 +65,7 @@ $scope.workflows = { 'timeline': 'Timeline', - 'pipeline': 'Sequence' + 'sequence': 'Sequence' }; $scope.caseType = selectedCaseType; @@ -135,8 +135,8 @@ switch (workflow) { case 'timeline': return true; - case 'pipeline': - return 0 == _.where($scope.caseType.definition.activitySets, {pipeline: '1'}).length; + case 'sequence': + return 0 == _.where($scope.caseType.definition.activitySets, {sequence: '1'}).length; default: if (console && console.log) console.log('Denied access to unrecognized workflow: (' + workflow + ')'); return false; @@ -159,8 +159,8 @@ $scope.activityTableTemplate = function(activitySet) { if (activitySet.timeline) { return partialUrl('timelineTable.html'); - } else if (activitySet.pipeline) { - return partialUrl('pipelineTable.html'); + } else if (activitySet.sequence) { + return partialUrl('sequenceTable.html'); } else { return ''; } diff --git a/partials/crmCaseType/edit.html b/partials/crmCaseType/edit.html index db61247021..648c224036 100644 --- a/partials/crmCaseType/edit.html +++ b/partials/crmCaseType/edit.html @@ -27,7 +27,7 @@ Required vars: caseType diff --git a/partials/crmCaseType/pipelineTable.html b/partials/crmCaseType/sequenceTable.html similarity index 100% rename from partials/crmCaseType/pipelineTable.html rename to partials/crmCaseType/sequenceTable.html -- 2.25.1