custom trigger: more wizard progress

This commit is contained in:
Jimmy Zelinskie 2015-03-31 17:12:40 -04:00
parent 7d1d53ebcb
commit d2f9a8838c
4 changed files with 43 additions and 12 deletions

View file

@ -23,10 +23,15 @@ angular.module('quay').directive('triggerSetupCustom', function() {
$scope.state = {
'gitURL': null,
'subdir': null,
};
$scope.stepsCompleted = function() {
$scope.analyze({'isValid': $scope.state.gitURL != null});
$scope.analyze({'isValid': $scope.state.gitURL != null && $scope.subdir != null});
};
$scope.nopLoad = function(callback) {
callback();
};
}
};