| @@ 1-32 (lines=32) @@ | ||
| 1 | "use strict"; |
|
| 2 | app.controller('computerLanguageCreateController', ['$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-52-list-computer-language'); |
|
| 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 | ||
| 22 | } |
|
| 23 | ||
| 24 | $scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){ |
|
| 25 | if(fieldName == "ShortForm") |
|
| 26 | newObj.ShortForm = newObj.ShortForm.toUpperCase(); |
|
| 27 | } |
|
| 28 | ||
| 29 | $scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){ |
|
| 30 | return true; |
|
| 31 | } |
|
| 32 | }]); |
|
| 33 | ||
| @@ 1-32 (lines=32) @@ | ||
| 1 | "use strict"; |
|
| 2 | app.controller('repositoryCreateController', ['$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-53-list-repository'); |
|
| 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 | ||
| 22 | } |
|
| 23 | ||
| 24 | $scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){ |
|
| 25 | if(fieldName == "ShortForm") |
|
| 26 | newObj.ShortForm = newObj.ShortForm.toUpperCase(); |
|
| 27 | } |
|
| 28 | ||
| 29 | $scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){ |
|
| 30 | return true; |
|
| 31 | } |
|
| 32 | }]); |
|
| 33 | ||