wp sites under main sites

This commit is contained in:
usmannasir
2025-04-02 13:42:05 +05:00
parent e4d0c3b64f
commit bec74df3e6
3 changed files with 67 additions and 60 deletions

View File

@@ -1353,7 +1353,7 @@ app.controller('WPsiteHome', function ($scope, $http, $timeout, $compile, $windo
}
function cantLoadInitialDatas(response) {
$('#wordpresshomeloading').hide();
//$('#wordpresshomeloading').hide();
$scope.wordpresshomeloading = true;
$scope.stagingDetailsForm = true;
$scope.installationProgress = false;
@@ -2640,6 +2640,14 @@ app.controller('listWebsites', function ($scope, $http) {
$scope.currentPage = 1;
$scope.recordsToShow = 10;
$scope.toggleWPSites = function(index) {
if (!$scope.WebSitesList[index].showWPSites) {
$scope.WebSitesList[index].showWPSites = true;
} else {
$scope.WebSitesList[index].showWPSites = false;
}
};
$scope.getFurtherWebsitesFromDB = function () {
var config = {