Skip to content

Commit

Permalink
CRM-21231: On CiviMail screen make 'Review and Schedule' tab active i…
Browse files Browse the repository at this point in the history
…f required fields are filled
  • Loading branch information
monishdeb committed Oct 10, 2017
1 parent 69e9a25 commit 5919adf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ang/crmUi.js
Expand Up @@ -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 */
Expand Down

0 comments on commit 5919adf

Please sign in to comment.