From 1302b0a007d22fbf5da9a78bb0440dd62bf6cab3 Mon Sep 17 00:00:00 2001 From: Tobias Lounsbury Date: Thu, 29 Sep 2016 12:25:37 -0700 Subject: [PATCH] CRM-19432: Added class passthrough for crmUiWizardStep --- ang/crmUi.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ang/crmUi.js b/ang/crmUi.js index 3368745478..20bcdbc823 100644 --- a/ang/crmUi.js +++ b/ang/crmUi.js @@ -871,6 +871,7 @@ // example:
...content...
// If there are any conditional steps, then be sure to set a weight explicitly on *all* steps to maintain ordering. // example:
...content...
+ // example with custom classes:
...content...
.directive('crmUiWizardStep', function() { var nextWeight = 1; return { @@ -879,8 +880,9 @@ scope: { crmTitle: '@', // expression, evaluates to a printable string crmUiWizardStep: '@' // int, a weight which determines the ordering of the steps + crmUiWizardStepClass: '@' // int, a weight which determines the ordering of the steps }, - template: '
', + template: '
', transclude: true, link: function (scope, element, attrs, ctrls) { var crmUiWizardCtrl = ctrls[0], form = ctrls[1]; -- 2.25.1