From e5df45d2404b71bc8ec789e74896a8f9dde6f0af Mon Sep 17 00:00:00 2001 From: Tobias Lounsbury Date: Thu, 29 Sep 2016 12:24:46 -0700 Subject: [PATCH] CRM-19432: Added class passtrhough for crmUiWizard nav items --- ang/crmUi.js | 4 +++- ang/crmUi/wizard.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ang/crmUi.js b/ang/crmUi.js index a900f45a3a..3368745478 100644 --- a/ang/crmUi.js +++ b/ang/crmUi.js @@ -732,6 +732,7 @@ }) // example:
...
...
+ // example with custom nav classes:
...
// Note: "myWizardCtrl" has various actions/properties like next() and $first(). // WISHLIST: Allow each step to determine if it is "complete" / "valid" / "selectable" // WISHLIST: Allow each step to enable/disable (show/hide) itself @@ -739,7 +740,8 @@ return { restrict: 'EA', scope: { - crmUiWizard: '@' + crmUiWizard: '@', + crmUiWizardNavClass: '@' }, templateUrl: '~/crmUi/wizard.html', transclude: true, diff --git a/ang/crmUi/wizard.html b/ang/crmUi/wizard.html index 44b09743f2..9c4c471801 100644 --- a/ang/crmUi/wizard.html +++ b/ang/crmUi/wizard.html @@ -1,6 +1,6 @@