PageSourceSearch

https://support.rowriter.com/App/Components/Account/AgentRating/ag…?08c15887d59612fdd31d70847c82abed

js rowriter.com collected 2026-09-29 02:44:35 UTC 1,664 bytes, 42 lines download raw bytes

1app.controller('agentRatingController', ['$scope', '$http', '$rootScope', '$timeout', '$state', '$stateParams', '$location', 'agentRatingService', function ($scope, $http, $rootScope, $timeout, $state, $stateParams, $location, agentRatingService) {
2    $scope.AuthKey = $stateParams.rating;
3
4    if ($scope.AuthKey != "") {
5        agentRatingService.ValidateAgentRatingInfo($scope.AuthKey, function (data) {
6            if (data != null) {
7                $scope.ratingMessage = data.RatingText;
8                $scope.ratingImage = data.RatingImage;
9                $scope.redirectUrl = data.RedirectUrl
10            } else {
11                $state.go('standard.dashboard');
12            }
13        });
14    }
15    else {
16        $state.go('standard.dashboard');
17    }
18
19    $scope.submitRating = function () {
20        var agentRatingInfo = new Object();
21        agentRatingInfo.comment = $scope?.user?.comment;
22        agentRatingInfo.agentRatingID = $scope.agentRatingID;
23        agentRatingInfo.authkey = $scope.AuthKey;
24        agentRatingService.SubmitRating(agentRatingInfo, function (data) {
25
26            $scope.message = data;
27            $scope.displayMessage = true;
28
29            if (data == true) {
30                $scope.message = "Thank you for helping us improve our service!";
31                setTimeout(function () {
32                    if ($scope.redirectUrl && $scope.redirectUrl != '') {
33                        window.location.href = $scope.redirectUrl;
34                    }
35                    else {
36                        $state.go('standard.dashboard');
37                    }
38                }, 5000);
39            }
40        });
41    };
42}]);

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.