Total Complexity | 8 |
Complexity/F | 1 |
Lines of Code | 31 |
Function Count | 8 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | "use strict"; |
||
2 | app.controller('licenseCreateController', ['$scope', '$state', 'Security', function ($scope, $state, Security, $rootScope) { |
||
3 | function Initialize(){ |
||
4 | var entryForm = {}; |
||
5 | |||
6 | $scope.entryForm = entryForm; |
||
7 | } |
||
8 | Initialize(); |
||
9 | |||
10 | $scope.BackToParentState = function(){ |
||
11 | $state.go('rc-51-list-license-terms'); |
||
12 | } |
||
13 | |||
14 | $scope.EventListener = function(scope, iElement, iAttrs, controller){ |
||
15 | iElement.ready(function() { |
||
16 | |||
17 | }) |
||
18 | } |
||
19 | |||
20 | $scope.SetDefaultValue = function(scope, iElement, iAttrs, controller){ |
||
21 | $scope.entryForm.IsCommercialUse = "Yes"; |
||
22 | $scope.entryForm.IsSuperseded = "No"; |
||
23 | } |
||
24 | |||
25 | $scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){ |
||
26 | } |
||
27 | |||
28 | $scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){ |
||
29 | return true; |
||
30 | } |
||
31 | }]); |
||
32 |