bug fix delete child domain

This commit is contained in:
usmannasir 2025-06-16 19:15:03 +05:00
parent 9024635c7f
commit 6d67098424
2 changed files with 3 additions and 3 deletions

View File

@ -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');

View File

@ -538,7 +538,7 @@
<div class="page-title-section">
<h1 class="page-title">
{% trans "List Child Domains" %}
<span ng-hide="cyberPanelLoading" class="loading-spinner"></span>
<span ng-show="cyberPanelLoading" class="loading-spinner"></span>
</h1>
<p class="page-subtitle">{% trans "Manage your sub-domains and addon domains from one place" %}</p>
</div>