add wp loader

This commit is contained in:
usmannasir
2025-04-07 14:59:29 +05:00
parent 0086bac257
commit b9f3f2ca6a
2 changed files with 6 additions and 9 deletions

View File

@@ -602,9 +602,7 @@ app.controller('WPsiteHome', function ($scope, $http, $timeout, $compile, $windo
if (response.data.ret_data.debugging === 1) {
$('#debugging').prop('checked', true);
}
if (response.data.ret_data.searchIndex === 1) {
$('#searchIndex').prop('checked', true);
}
$scope.searchIndexEnabled = response.data.ret_data.searchIndex === 1;
if (response.data.ret_data.maintenanceMode === 1) {
$('#maintenanceMode').prop('checked', true);
}
@@ -4204,9 +4202,7 @@ app.controller('WPsiteHome', function ($scope, $http, $timeout, $compile, $windo
if (response.data.ret_data.debugging === 1) {
$('#debugging').prop('checked', true);
}
if (response.data.ret_data.searchIndex === 1) {
$('#searchIndex').prop('checked', true);
}
$scope.searchIndexEnabled = response.data.ret_data.searchIndex === 1;
if (response.data.ret_data.maintenanceMode === 1) {
$('#maintenanceMode').prop('checked', true);
}
@@ -9073,7 +9069,7 @@ app.controller('websitePages', function ($scope, $http, $timeout, $window) {
$scope.operationFailed = false;
$scope.operationSuccessfull = true;
$scope.couldNotConnect = true;
$scope.openBaseDirBox = false;
$scope.openBaseDirChanged = false;
$scope.errorMessage = response.data.error_message;