From 57dbba269d19bc59fad89160200bb2dbcccb9003 Mon Sep 17 00:00:00 2001 From: shentao Date: Fri, 1 Sep 2017 11:57:47 +0800 Subject: Upload Monitor function code Change-Id: I33ad76221b4cb771a298ff240245fc24be664efb Issue-Id: USECASEUI-6 Signed-off-by: shentao --- .../scripts/controllers/modelpopupController.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 usecaseui-common/src/main/webapp/app/fusion/scripts/controllers/modelpopupController.js (limited to 'usecaseui-common/src/main/webapp/app/fusion/scripts/controllers/modelpopupController.js') diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/controllers/modelpopupController.js b/usecaseui-common/src/main/webapp/app/fusion/scripts/controllers/modelpopupController.js new file mode 100644 index 00000000..48fbbc03 --- /dev/null +++ b/usecaseui-common/src/main/webapp/app/fusion/scripts/controllers/modelpopupController.js @@ -0,0 +1,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"); + }; +} \ No newline at end of file -- cgit 1.2.3-korg