add git manager for child domains

This commit is contained in:
Usman Nasir
2020-03-28 19:23:57 +05:00
parent 360dd42f14
commit 40f1de4215
4 changed files with 142 additions and 93 deletions

View File

@@ -6546,12 +6546,18 @@ app.controller('manageGIT', function ($scope, $http, $timeout, $window) {
var currentComit;
var fetchFileCheck = 0;
var initial = 1;
$scope.fetchFiles = function (commit) {
currentComit = commit;
$scope.cyberpanelLoading = false;
fetchFileCheck = 1;
if (initial === 1){
initial = 0;
}else {
fetchFileCheck = 1;
}
url = "/websites/fetchFiles";
@@ -6607,6 +6613,7 @@ app.controller('manageGIT', function ($scope, $http, $timeout, $window) {
$scope.fetchChangesInFile = function () {
$scope.fileStatus = true;
if(fetchFileCheck === 1){
fetchFileCheck = 0;
return 0;