mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-06-26 22:21:14 +02:00
bug fix delete child domain
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user