Revision 62129
Added by Michele Artini about 2 years ago
reposCommon.js | ||
---|---|---|
1 | 1 |
function common_init($scope, $http, $sce, $location) { |
2 | 2 |
$scope.currentRepoId = ''; |
3 | 3 |
$scope.currentRepoName = ''; |
4 |
$scope.currentRepoHTML = '';
|
|
4 |
$scope.currentRepo = ''; |
|
5 | 5 |
|
6 | 6 |
$scope.go = function(path) { |
7 | 7 |
$location.path(path); |
... | ... | |
33 | 33 |
function(data) { |
34 | 34 |
$scope.currentRepoId = id; |
35 | 35 |
$scope.currentRepoName = name; |
36 |
$scope.currentRepoHTML = $sce.trustAsHtml(data);
|
|
36 |
$scope.currentRepo = data;
|
|
37 | 37 |
$scope.hideSpinner(); |
38 | 38 |
$('#repoDetailsModal').modal('show'); |
39 | 39 |
} |
Also available in: Unified diff
merge from eosc_services