diff --git a/websiteFunctions/static/websiteFunctions/websiteFunctions.js b/websiteFunctions/static/websiteFunctions/websiteFunctions.js index c1cbee44c..7ee8b3b2d 100644 --- a/websiteFunctions/static/websiteFunctions/websiteFunctions.js +++ b/websiteFunctions/static/websiteFunctions/websiteFunctions.js @@ -6628,8 +6628,6 @@ app.controller('listChildDomainsMain', function ($scope, $http, $timeout) { }; $scope.getFurtherWebsitesFromDB(); - $scope.cyberPanelLoading = true; - $scope.issueSSL = function (virtualHost) { $scope.cyberPanelLoading = false; @@ -10142,6 +10140,7 @@ app.controller('listChildDomainsMain', function ($scope, $http, $timeout) { $scope.recordsToShow = 10; $scope.expandedSites = {}; $scope.DeleteDocRoot = false; + $scope.cyberPanelLoading = false; $scope.getFurtherWebsitesFromDB = function () { @@ -10462,6 +10461,7 @@ app.controller('listChildDomainsMain', function ($scope, $http, $timeout) { }; $scope.deleteChildDomain = function () { + alert('Delete function called! Domain: ' + $scope.DeleteDomain); console.log('Deleting domain:', $scope.DeleteDomain); if (!$scope.DeleteDomain) { alert('No domain selected for deletion'); diff --git a/websiteFunctions/templates/websiteFunctions/listChildDomains.html b/websiteFunctions/templates/websiteFunctions/listChildDomains.html index 8a80dfdca..3d02455e7 100644 --- a/websiteFunctions/templates/websiteFunctions/listChildDomains.html +++ b/websiteFunctions/templates/websiteFunctions/listChildDomains.html @@ -538,7 +538,7 @@
{% trans "Manage your sub-domains and addon domains from one place" %}