projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9853619
)
crmUiWizard - Fix error when first wizard step is conditional
author
Tim Otten
<totten@civicrm.org>
Thu, 26 Feb 2015 23:05:50 +0000
(16:05 -0700)
committer
Tim Otten
<totten@civicrm.org>
Mon, 2 Mar 2015 23:59:43 +0000
(15:59 -0800)
js/angular-crm-ui.js
patch
|
blob
|
blame
|
history
diff --git
a/js/angular-crm-ui.js
b/js/angular-crm-ui.js
index 01be58540784c99bff85d507cd051322f4a5c3bf..34450648bf93fc0088d5e0836bc81235918f44cb 100644
(file)
--- a/
js/angular-crm-ui.js
+++ b/
js/angular-crm-ui.js
@@
-734,7
+734,7
@@
this.$last = function() { return this.$index() === steps.length -1; };
this.$maxVisit = function() { return maxVisited; };
this.$validStep = function() {
- return steps[selectedIndex].isStepValid();
+ return steps[selectedIndex]
&& steps[selectedIndex]
.isStepValid();
};
this.iconFor = function(index) {
if (index < this.$index()) return '√';