Skip to content

Commit d30ea84

Browse files
Change wizard directive requires settings to be standard
Using the hyphenated version of the require specifications does not work in a non-jquery environment.
1 parent 131235b commit d30ea84

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/wizard/wizard-buttons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.directive(action, function () {
66
return {
77
restrict: 'A',
8-
require: '^pf-wizard',
8+
require: '^pfWizard',
99
scope: {
1010
callback: "=?"
1111
},

src/wizard/wizard-review-page-directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ angular.module('patternfly.wizard').directive('pfWizardReviewPage', function ()
1717
shown: '=',
1818
wizardData: "="
1919
},
20-
require: '^pf-wizard',
20+
require: '^pfWizard',
2121
templateUrl: 'wizard/wizard-review-page.html',
2222
controller: function ($scope) {
2323
$scope.toggleShowReviewDetails = function (step) {

src/wizard/wizard-step-directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ angular.module('patternfly.wizard').directive('pfWizardStep', function () {
2727
'use strict';
2828
return {
2929
restrict: 'A',
30+
require: '^pfWizard',
3031
transclude: true,
3132
scope: {
3233
stepTitle: '@',
@@ -47,7 +48,6 @@ angular.module('patternfly.wizard').directive('pfWizardStep', function () {
4748
showReviewDetails: '@?',
4849
reviewTemplate: '@?'
4950
},
50-
require: '^pf-wizard',
5151
templateUrl: 'wizard/wizard-step.html',
5252
controller: function ($scope, $timeout) {
5353
var firstRun = true;

src/wizard/wizard-substep-directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ angular.module('patternfly.wizard').directive('pfWizardSubstep', function () {
3939
showReviewDetails: '@?',
4040
reviewTemplate: '@?'
4141
},
42-
require: '^pf-wizard-step',
42+
require: '^pfWizardStep',
4343
templateUrl: 'wizard/wizard-substep.html',
4444
controller: function ($scope) {
4545
if (angular.isUndefined($scope.nextEnabled)) {

0 commit comments

Comments
 (0)