bug fix: firewalld

This commit is contained in:
Usman Nasir
2020-01-01 12:47:59 +05:00
parent 1a95b0d30d
commit db866f218f
2 changed files with 17 additions and 23 deletions

View File

@@ -50,7 +50,7 @@ app.controller('installCageFS', function ($scope, $http, $timeout, $window) {
};
function getRequestStatus() {
$scope.cyberPanelLoading = false;
$scope.installDockerStatus = false;
url = "/serverstatus/switchTOLSWSStatus";
@@ -72,7 +72,7 @@ app.controller('installCageFS', function ($scope, $http, $timeout, $window) {
$timeout(getRequestStatus, 1000);
} else {
// Notifications
$scope.cyberPanelLoading = true;
$scope.installDockerStatus = true;
$timeout.cancel();
$scope.requestData = response.data.requestStatus;
if (response.data.installed === 1) {
@@ -85,7 +85,7 @@ app.controller('installCageFS', function ($scope, $http, $timeout, $window) {
}
function cantLoadInitialDatas(response) {
$scope.cyberPanelLoading = true;
$scope.installDockerStatus = true;
new PNotify({
title: 'Operation Failed!',
text: 'Could not connect to server, please refresh this page',