fix delete site

This commit is contained in:
usmannasir
2025-04-08 04:59:12 +05:00
parent 5542250b22
commit b48ca0fb28
2 changed files with 17 additions and 13 deletions

View File

@@ -2707,11 +2707,6 @@ app.controller('listWebsites', function ($scope, $http, $window) {
return 'https://' + url;
};
$scope.deleteWPSite = function(wp) {
if (confirm('Are you sure you want to delete this WordPress site? This action cannot be undone.')) {
window.location.href = '/websites/ListWPSites?DeleteID=' + wp.id;
}
};
$scope.updateSetting = function(wp, setting) {
var settingMap = {
@@ -5859,11 +5854,7 @@ app.controller('listWebsites', function ($scope, $http, $window) {
return 'https://' + url;
};
$scope.deleteWPSite = function(wp) {
if (confirm('Are you sure you want to delete this WordPress site? This action cannot be undone.')) {
window.location.href = '/websites/ListWPSites?DeleteID=' + wp.id;
}
};
$scope.updateSetting = function(wp, setting) {
var settingMap = {