diff --git a/websiteFunctions/templates/websiteFunctions/WPsitesList.html b/websiteFunctions/templates/websiteFunctions/WPsitesList.html index 93278f944..e4ebf8ef4 100644 --- a/websiteFunctions/templates/websiteFunctions/WPsitesList.html +++ b/websiteFunctions/templates/websiteFunctions/WPsitesList.html @@ -13,7 +13,6 @@ // Now add our controller to the module angular.module('CyberCP').controller('listWordPressSites', function($scope, $http) { - // Initialize scope variables with pre-serialized JSON $scope.wpSites = {{ wpsite|safe }}; $scope.debug = {{ debug_info|safe }}; $scope.totalSites = {{ total_sites }}; @@ -131,11 +130,7 @@ } }, function(response) { - new PNotify({ - title: 'Operation Failed!', - text: 'Could not fetch site data, please refresh the page.', - type: 'error' - }); + console.log('Failed to fetch site data'); } ); } @@ -148,91 +143,105 @@ {% endblock %} {% block content %} -