diff --git a/public/static/websiteFunctions/websiteFunctions.js b/public/static/websiteFunctions/websiteFunctions.js index f6c5f9dcb..1ac19a0ce 100644 --- a/public/static/websiteFunctions/websiteFunctions.js +++ b/public/static/websiteFunctions/websiteFunctions.js @@ -10742,7 +10742,7 @@ $("#websiteSuccessfullyModified").hide(); $("#modifyWebsiteLoading").hide(); $("#modifyWebsiteButton").hide(); -app.controller('modifyWebsitesController', function ($scope, $http) { +app.controller('modifyWebsitesController', ['$scope', '$http', function ($scope, $http) { // Initialize home directory variables $scope.homeDirectories = []; @@ -10915,7 +10915,7 @@ app.controller('modifyWebsitesController', function ($scope, $http) { }; -}); +}]); /* Java script code to Modify Pacakge ends here */ diff --git a/static/js/websiteFunctions.js b/static/js/websiteFunctions.js index 17c1bbb4b..5b4ebab69 100644 --- a/static/js/websiteFunctions.js +++ b/static/js/websiteFunctions.js @@ -10176,7 +10176,7 @@ $("#websiteSuccessfullyModified").hide(); $("#modifyWebsiteLoading").hide(); $("#modifyWebsiteButton").hide(); -app.controller('modifyWebsitesController', function ($scope, $http) { +app.controller('modifyWebsitesController', ['$scope', '$http', function ($scope, $http) { $scope.fetchWebsites = function () { @@ -10313,7 +10313,7 @@ app.controller('modifyWebsitesController', function ($scope, $http) { }; -}); +}]); /* Java script code to Modify Pacakge ends here */ diff --git a/static/websiteFunctions/websiteFunctions.js b/static/websiteFunctions/websiteFunctions.js index dd86b2455..b776aeb01 100644 --- a/static/websiteFunctions/websiteFunctions.js +++ b/static/websiteFunctions/websiteFunctions.js @@ -10742,7 +10742,7 @@ $("#websiteSuccessfullyModified").hide(); $("#modifyWebsiteLoading").hide(); $("#modifyWebsiteButton").hide(); -app.controller('modifyWebsitesController', function ($scope, $http) { +app.controller('modifyWebsitesController', ['$scope', '$http', function ($scope, $http) { $scope.fetchWebsites = function () { @@ -10879,7 +10879,7 @@ app.controller('modifyWebsitesController', function ($scope, $http) { }; -}); +}]); /* Java script code to Modify Pacakge ends here */ diff --git a/websiteFunctions/static/js/websiteFunctions.js b/websiteFunctions/static/js/websiteFunctions.js index 17c1bbb4b..5b4ebab69 100644 --- a/websiteFunctions/static/js/websiteFunctions.js +++ b/websiteFunctions/static/js/websiteFunctions.js @@ -10176,7 +10176,7 @@ $("#websiteSuccessfullyModified").hide(); $("#modifyWebsiteLoading").hide(); $("#modifyWebsiteButton").hide(); -app.controller('modifyWebsitesController', function ($scope, $http) { +app.controller('modifyWebsitesController', ['$scope', '$http', function ($scope, $http) { $scope.fetchWebsites = function () { @@ -10313,7 +10313,7 @@ app.controller('modifyWebsitesController', function ($scope, $http) { }; -}); +}]); /* Java script code to Modify Pacakge ends here */ diff --git a/websiteFunctions/static/websiteFunctions/websiteFunctions.js b/websiteFunctions/static/websiteFunctions/websiteFunctions.js index dd86b2455..b776aeb01 100644 --- a/websiteFunctions/static/websiteFunctions/websiteFunctions.js +++ b/websiteFunctions/static/websiteFunctions/websiteFunctions.js @@ -10742,7 +10742,7 @@ $("#websiteSuccessfullyModified").hide(); $("#modifyWebsiteLoading").hide(); $("#modifyWebsiteButton").hide(); -app.controller('modifyWebsitesController', function ($scope, $http) { +app.controller('modifyWebsitesController', ['$scope', '$http', function ($scope, $http) { $scope.fetchWebsites = function () { @@ -10879,7 +10879,7 @@ app.controller('modifyWebsitesController', function ($scope, $http) { }; -}); +}]); /* Java script code to Modify Pacakge ends here */