Remove unused vars and methods
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / service / modalService.js
index 381db7f..ceb2ec3 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP Policy Engine
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function (
        
                                                                                                                
                this.showSuccess = function(heading, messageBody){
-                       var modalInstance = $modal.open({
+                       $modal.open({
                        templateUrl: 'modal_informative.html',
                        controller: 'modalpopupController',
                        resolve: {
@@ -38,7 +38,7 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function (
                      }); 
                };
                this.showFailure = function(heading, messageBody){
-               var modalInstance = $modal.open({
+                       $modal.open({
                        templateUrl: 'modal_warning.html',
                        controller: 'modalpopupController',
                        resolve: {
@@ -54,7 +54,7 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function (
                };
                
                this.showMessage = function(heading, messageBody){
-               var modalInstance = $modal.open({
+               $modal.open({
                        templateUrl: 'modal_message.html',
                        controller: 'modalpopupController',
                        resolve: {
@@ -70,7 +70,7 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function (
                };
                
                this.showWarning = function(heading, messageBody){
-               var modalInstance = $modal.open({
+               $modal.open({
                        templateUrl: 'modal_warning_message.html',
                        controller: 'modalpopupController',
                        resolve: {
@@ -201,4 +201,4 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function (
                   modalInstance = undefined;
                  });   
        };      
- }]);
\ No newline at end of file
+ }]);