diff options
author | 2018-04-18 09:11:56 +0800 | |
---|---|---|
committer | 2018-04-18 09:12:03 +0800 | |
commit | d698af153772ca4351ad3b23fbb987fc749890af (patch) | |
tree | 8fa49f10523134f9596814ef7a30528e298ac660 /usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/modalServiceDS2.js | |
parent | ffffd8a35ae5fcea703a7427844037c07c232b92 (diff) |
Fix Security/Vulnerability problems
Change-Id: Ie0f2c9e0794941d9b9a7f00a6c3d349269d98ed1
Issue-ID: USECASEUI-104
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/modalServiceDS2.js')
-rw-r--r-- | usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/modalServiceDS2.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/modalServiceDS2.js b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/modalServiceDS2.js deleted file mode 100644 index d3cd8737..00000000 --- a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/modalServiceDS2.js +++ /dev/null @@ -1,31 +0,0 @@ -angular.module("modalServicesDS2",[]).service('modalService', ['$modal', function ($modal) { - - this.popupConfirmWinWithCancel = function(title, msgBody, callback,dismissCallback){ - debugger; - var modalInstance = $modal.open({ - templateUrl: 'confirmation_informativeDS2.html', - //controller: 'modalpopupControllerDS2', - //size: 'sm', - resolve: { - message: function () { - var message = { - title: title, - text: msgBody - }; - return message; - } - } - }); - var args = Array.prototype.slice.call( arguments, 0 ); - args.splice( 0, 3); - modalInstance.result.then(function(){ - callback.apply(null, args); - }, function() { - dismissCallback(); - })['finally'](function(){ - modalInstance = undefined; - }); - - }; - - }]);
\ No newline at end of file |