PageSourceSearch

https://clientes.criteria.com.ar/vbhome/ScriptsLogin16.0.0/connectionErrorController-16.0.0.js

js criteria.com.ar collected 2026-09-24 10:43:45 UTC 882 bytes, 20 lines download raw bytes

1'use strict';
2app.controller('connectionErrorController', ['$scope', 'authService', 'resourceService', '$rootScope', function ($scope, authService, resourceService, $rootScope) {
3    $scope.connectionErrorPromises = {}; //Promises for load indicator
4
5    $scope.initConnectionError = function () {
6        authService.logOut();
7    };
8
9    $scope.ping = function () {
10        $scope.connectionErrorPromises.retry = resourceService.ping().then(function () {
11            //Success
12            var message = $rootScope.Strings["CONNECTION_SUCCESS"] || 'Conexión con el servidor restablecida con éxito'; //Si no se encuentra CONNECTION_SUCCESS, se tiene que mostrar algún mensaje de éxito
13            $rootScope.showAlert(message, function () {
14                window.location = 'login.html';
15            });
16        }, function () {
17
18        });
19    };
20}]);

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.