improvement: cron interface

This commit is contained in:
Usman Nasir
2021-02-19 15:56:19 +05:00
parent 99be482b2c
commit 982627f388
5 changed files with 22 additions and 19 deletions

View File

@@ -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();