Upgrade sonar plugin
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / modals / alert-new-scheduler / alert-new-scheduler.controller.js
1 (function () {
2     'use strict';
3
4     appDS2.controller("alertNewSchedulerController", ["$uibModalInstance", "jobInfo", "MsoService", "COMPONENT",
5         "$log", alertNewSchedulerController]);
6
7     function alertNewSchedulerController($uibModalInstance, jobInfo, MsoService, COMPONENT, $log) {
8         var vm = this;
9
10         vm.manualTasks = [];
11         vm.MANUAL_TASKS = COMPONENT.MANUAL_TASKS;
12         var init = function() {
13             if (jobInfo) {
14                 vm.content = jobInfo;
15             } else {
16                 vm.content = "Successfully";
17             }
18
19           
20
21         };
22
23         
24
25       
26
27         vm.close = function () {
28             $uibModalInstance.close();
29         };
30
31         init();
32     }
33 })();