1(function() { 2 'use strict'; 3 4 angular 5 .module("irk") 6 .controller("PotwierdzenieRezygnacjiKandydataController", PotwierdzenieRezygnacjiKandydataController) 7 8 function PotwierdzenieRezygnacjiKandydataController($scope, $http, $modalInstance, 9 toaster, i18n, wyslijRezygnacjeFunction) 10 { 11 $scope.formData = { 12 potwierdzenieRezygnacji: '', 13 }; 14 15 $scope.zamknij = function() { 16 $modalInstance.close(); 17 }; 18 19 $scope.wyslij = function() { 20 i18n.get('interfejs.irk.komponent.RezygnacjaKandydata.KodPotwierdzajacy').then(function(kodPotwierdzajacy) { 21 if($scope.formData.potwierdzenieRezygnacji == kodPotwierdzajacy) 22 { 23 wyslijRezygnacjeFunction(); 24 $scope.zamknij(); 25 return; 26 } 27 $scope.formularzPotwierdzeniaRezygnacji.potwierdzenieRezygnacji.$setValidity("powodRezygnacji", false); 28 i18n.get('interfejs.irk.komponent.RezygnacjaKandydata.PotwierdzRezygnacje').then(function(komunikat) { 29 toaster.pop('error', komunikat); 30 }); 31 }); 32 }; 33 } 34 35})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.