From 6d67098424fe95e7340d24e27b1a6b0634deb1b1 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Mon, 16 Jun 2025 19:15:03 +0500 Subject: [PATCH] bug fix delete child domain --- websiteFunctions/static/websiteFunctions/websiteFunctions.js | 4 ++-- .../templates/websiteFunctions/listChildDomains.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 "List Child Domains" %} - +

{% trans "Manage your sub-domains and addon domains from one place" %}