Fix popovers
This commit is contained in:
parent
6fb6eb64e1
commit
1303877da0
1 changed files with 12 additions and 11 deletions
|
@ -357,11 +357,6 @@ function RepoCtrl($scope, Restangular, ApiService, $routeParams, $rootScope, $lo
|
||||||
}
|
}
|
||||||
|
|
||||||
function RepoAdminCtrl($scope, Restangular, ApiService, $routeParams, $rootScope) {
|
function RepoAdminCtrl($scope, Restangular, ApiService, $routeParams, $rootScope) {
|
||||||
$('.info-icon').popover({
|
|
||||||
'trigger': 'hover',
|
|
||||||
'html': true
|
|
||||||
});
|
|
||||||
|
|
||||||
var namespace = $routeParams.namespace;
|
var namespace = $routeParams.namespace;
|
||||||
var name = $routeParams.name;
|
var name = $routeParams.name;
|
||||||
|
|
||||||
|
@ -610,6 +605,11 @@ function RepoAdminCtrl($scope, Restangular, ApiService, $routeParams, $rootScope
|
||||||
fetchPermissions('team');
|
fetchPermissions('team');
|
||||||
fetchTokens();
|
fetchTokens();
|
||||||
|
|
||||||
|
$('.info-icon').popover({
|
||||||
|
'trigger': 'hover',
|
||||||
|
'html': true
|
||||||
|
});
|
||||||
|
|
||||||
return $scope.repo;
|
return $scope.repo;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -1196,11 +1196,6 @@ function OrgAdminCtrl($rootScope, $scope, Restangular, $routeParams, UserService
|
||||||
}
|
}
|
||||||
|
|
||||||
function TeamViewCtrl($rootScope, $scope, Restangular, ApiService, $routeParams) {
|
function TeamViewCtrl($rootScope, $scope, Restangular, ApiService, $routeParams) {
|
||||||
$('.info-icon').popover({
|
|
||||||
'trigger': 'hover',
|
|
||||||
'html': true
|
|
||||||
});
|
|
||||||
|
|
||||||
var teamname = $routeParams.teamname;
|
var teamname = $routeParams.teamname;
|
||||||
var orgname = $routeParams.orgname;
|
var orgname = $routeParams.orgname;
|
||||||
|
|
||||||
|
@ -1274,8 +1269,14 @@ function TeamViewCtrl($rootScope, $scope, Restangular, ApiService, $routeParams)
|
||||||
$scope.membersResource = ApiService.getOrganizationTeamMembersAsResource(params).get(function(resp) {
|
$scope.membersResource = ApiService.getOrganizationTeamMembersAsResource(params).get(function(resp) {
|
||||||
$scope.members = resp.members;
|
$scope.members = resp.members;
|
||||||
$scope.canEditMembers = resp.can_edit;
|
$scope.canEditMembers = resp.can_edit;
|
||||||
|
|
||||||
|
$('.info-icon').popover({
|
||||||
|
'trigger': 'hover',
|
||||||
|
'html': true
|
||||||
|
});
|
||||||
|
|
||||||
return resp.members;
|
return resp.members;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// Load the organization.
|
// Load the organization.
|
||||||
|
|
Reference in a new issue