This commit is contained in:
Joseph Schorr 2015-05-06 18:24:09 -04:00
parent 61dcf86d2a
commit 3b3102478a

View file

@ -70,6 +70,8 @@ angular.module('quay').directive('triggerSetupGithost', function () {
};
$scope.loadRepositories = function(callback) {
if (!$scope.trigger || !$scope.repository) { return; }
var params = {
'repository': $scope.repository.namespace + '/' + $scope.repository.name,
'trigger_uuid': $scope.trigger.id
@ -83,6 +85,8 @@ angular.module('quay').directive('triggerSetupGithost', function () {
};
$scope.loadBranchesAndTags = function(callback) {
if (!$scope.trigger || !$scope.repository) { return; }
var params = {
'repository': $scope.repository.namespace + '/' + $scope.repository.name,
'trigger_uuid': $scope.trigger['id'],
@ -108,6 +112,8 @@ angular.module('quay').directive('triggerSetupGithost', function () {
};
$scope.loadLocations = function(callback) {
if (!$scope.trigger || !$scope.repository) { return; }
$scope.locations = null;
var params = {