aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rebaseline_server/static/loader.js
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-13 14:56:29 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-13 14:56:29 +0000
commit7498d95bde16eeaa4b20643fb930b6a3be7face1 (patch)
tree071411e3781d246b58e582d70258eaf62c5f56b9 /gm/rebaseline_server/static/loader.js
parentaffa77db64b75b9d32c7e42282bcc2e4eb2a94c3 (diff)
rebaseline_server: generate JSON that can be viewed without a live server
BUG=skia:1919 NOTREECHECKS=True NOTRY=True R=rmistry@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/195943004 git-svn-id: http://skia.googlecode.com/svn/trunk@13783 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/rebaseline_server/static/loader.js')
-rw-r--r--gm/rebaseline_server/static/loader.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/rebaseline_server/static/loader.js b/gm/rebaseline_server/static/loader.js
index bd3be2d408..645724c194 100644
--- a/gm/rebaseline_server/static/loader.js
+++ b/gm/rebaseline_server/static/loader.js
@@ -63,7 +63,7 @@ Loader.controller(
$scope.constants = constants;
$scope.windowTitle = "Loading GM Results...";
$scope.resultsToLoad = $location.search().resultsToLoad;
- $scope.loadingMessage = "Loading results of type '" + $scope.resultsToLoad +
+ $scope.loadingMessage = "Loading results from '" + $scope.resultsToLoad +
"', please wait...";
/**
@@ -71,7 +71,7 @@ Loader.controller(
* Once the dictionary is loaded, unhide the page elements so they can
* render the data.
*/
- $http.get("/results/" + $scope.resultsToLoad).success(
+ $http.get($scope.resultsToLoad).success(
function(data, status, header, config) {
var dataHeader = data[constants.KEY__HEADER];
if (dataHeader[constants.KEY__HEADER__IS_STILL_LOADING]) {
@@ -166,7 +166,7 @@ Loader.controller(
}
).error(
function(data, status, header, config) {
- $scope.loadingMessage = "Failed to load results of type '"
+ $scope.loadingMessage = "Failed to load results from '"
+ $scope.resultsToLoad + "'";
$scope.windowTitle = "Failed to Load GM Results";
}