mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
improvement: cron interface
This commit is contained in:
@@ -2830,6 +2830,8 @@ app.controller('manageCronController', function ($scope, $http) {
|
||||
$("#cronEditSuccess").hide();
|
||||
$("#fetchCronFailure").hide();
|
||||
|
||||
$scope.websiteToBeModified = $("#domain").text();
|
||||
|
||||
$scope.fetchWebsites = function () {
|
||||
|
||||
$("#manageCronLoading").show();
|
||||
@@ -2880,6 +2882,7 @@ app.controller('manageCronController', function ($scope, $http) {
|
||||
$("#cronEditSuccess").hide();
|
||||
}
|
||||
};
|
||||
$scope.fetchWebsites();
|
||||
|
||||
$scope.fetchCron = function (cronLine) {
|
||||
|
||||
@@ -3033,7 +3036,6 @@ app.controller('manageCronController', function ($scope, $http) {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
$scope.removeCron = function (line) {
|
||||
|
||||
$("#manageCronLoading").show();
|
||||
|
||||
Reference in New Issue
Block a user