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:
69e9a25
)
CRM-21231: On CiviMail screen make 'Review and Schedule' tab active if required field...
author
deb.monish
<monish.deb@jmaconsulting.biz>
Thu, 28 Sep 2017 11:45:17 +0000
(17:15 +0530)
committer
deb.monish
<monish.deb@jmaconsulting.biz>
Tue, 10 Oct 2017 11:22:12 +0000
(16:52 +0530)
ang/crmUi.js
patch
|
blob
|
blame
|
history
diff --git
a/ang/crmUi.js
b/ang/crmUi.js
index 9ce768703075b009b0c9980a1771ec6e4de7dd1b..b8640ef29cdd52c2484bf3bd76ef5ab92c9895ee 100644
(file)
--- a/
ang/crmUi.js
+++ b/
ang/crmUi.js
@@
-793,11
+793,7
@@
};
this.isSelectable = function(step) {
if (step.selected) return false;
- var result = false;
- angular.forEach(steps, function(otherStep, otherKey) {
- if (step === otherStep && otherKey <= maxVisited) result = true;
- });
- return result;
+ return this.$validStep();
};
/*** @param Object step the $scope of the step */