1angular.module('fctApp', []) 2.run(function($http){ 3 $http.defaults.headers.post={ 4 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8;', 5 'X-CSRF-Token': yii.getCsrfToken(), 6 'X-Requested-With' :'XMLHttpRequest' 7 }; 8 } 9) 10.controller('loginController', function($scope, $http){ 11 $scope.makeLogin=function(){ 12 $('#loginbtn').button('loading'); 13 $http.post(loginVars.loginUrl, $('#loginForm').serialize() ).then( 14 function(response){ 15 if(response.data.bioaccept == 1) 16 url=loginVars.returnUrl; 17 else 18 url= loginVars.noBio; 19 window.location = url; 20 //$('#loginbtn').button('reset'); 21 }, 22 function(response){ 23 jQuery('#loginForm').yiiActiveForm('updateAttribute', 'usuarios-passwd', ['No hay datos con la información indicada']); 24 $('#loginbtn').button('reset'); 25 } 26 ); 27 } 28});
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.