summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/controllers/modelpopupController.js
blob: 48fbbc037b9fdc2938ae8b3a1e201a0afbb2c70b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
var modalpopupController =  function ($scope, $modalInstance, message){
	
	$scope.message = message;
	
	
	$scope.hello = function () {
        $modalInstance.close($scope.digitPattern);
    };
	$modalInstance.ok = function() {
        //add the  ok functionality
        alert("Logout");        
    };
    $modalInstance.cancel = function() {
        //add the cancel functionality
        alert("Keep Log in");
    };
    $modalInstance.cancelbutton = function() {
        //add the cancel functionality
        alert("Modal Waring popup close event");
    };
}