summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/ds2-sample/notebookFrameController.js
diff options
context:
space:
mode:
authorjz385p <jegadeesh.babu@att.com>2020-07-21 13:57:46 +0530
committerJegadeesh Babu <jegadeesh.babu@att.com>2020-07-21 16:55:30 +0000
commit382c506e61f11d9ebf41d2c90fc7794a3bb71900 (patch)
tree3b503e8f8b09ffb3f9807b930d4b1facf63c1813 /ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/ds2-sample/notebookFrameController.js
parent5b557b51c6e41315ad48727340df8d3247154330 (diff)
removed AngularJS project from Portal SDK
removed AngularJS code base from the project Issue-ID: PORTAL-950 Change-Id: I098126e93fd7e6ada8a0babae58524f9d2ac76be Signed-off-by: jz385p <jegadeesh.babu@att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/ds2-sample/notebookFrameController.js')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/ds2-sample/notebookFrameController.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/ds2-sample/notebookFrameController.js b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/ds2-sample/notebookFrameController.js
deleted file mode 100644
index 95489918..00000000
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-controllers/ds2-sample/notebookFrameController.js
+++ /dev/null
@@ -1,24 +0,0 @@
-appDS2.controller('notebookFrameController', function ($scope,$location,$window,$http,$routeParams) {
- var nid = $window.location.search.substr($window.location.search.indexOf("=")+1);
- $scope.additionalqueryParams={};
- if ($window.location.search.substr($window.location.search.indexOf("=")+1)) {
- $scope.queryParams = $window.location.search;
- if($window.location.search.substring(0, $window.location.search.length-1).indexOf("&")!=-1) {
- $scope.notebookparam = $window.location.search.substring($window.location.search.indexOf("?")+1,$window.location.search.indexOf("&"));
- $scope.additionalqueryParams = JSON.parse('{"' + decodeURI($scope.queryParams.substr($scope.queryParams.indexOf("&")+1).replace(/&/g, "\",\"").replace(/=/g,"\":\"")) + '"}');
- }
- else {
- $scope.notebookparam1 = $window.location.search.substr($window.location.search.indexOf("?")+1);
- $scope.notebookparam = $scope.notebookparam1.substring(0, $scope.notebookparam1.length - 1);
- }
- $scope.notebookvalue = $scope.notebookparam.substr($scope.notebookparam.indexOf("=")+1);
- }
- else {
- $scope.notebookvalue = '833c0a69ec1433fbb2f8752af733cf0e';
- }
- $http({method:'POST', url:'rNotebookFE/authCr', data: $scope.notebookvalue, params:{'qparams' : $scope.additionalqueryParams}, transformResponse: [function (data) {
- // Do whatever you want!
- document.getElementById('itestframe').src = data;
- return data;
- }]})
-});