aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-new-scheduler/alert-new-scheduler.controller.js
blob: 2c5eabed9cd57fe4482a979173fef37c18f5021a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
(function () {
    'use strict';

    appDS2.controller("alertNewSchedulerController", ["$uibModalInstance", "jobInfo", "MsoService", "COMPONENT",
        "$log", alertNewSchedulerController]);

    function alertNewSchedulerController($uibModalInstance, jobInfo, MsoService, COMPONENT, $log) {
        var vm = this;

        vm.manualTasks = [];
        vm.MANUAL_TASKS = COMPONENT.MANUAL_TASKS;
        var init = function() {
            if (jobInfo) {
                vm.content = jobInfo;
            } else {
                vm.content = "Successfully";
            }

          

        };

        

      

        vm.close = function () {
            $uibModalInstance.close();
        };

        init();
    }
})();