From 1e521e43c2e6ee416bcadd5f51a8b9f3cc5de992 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 4 Feb 2015 16:11:37 -0500 Subject: [PATCH] Auth timeout on survey edit The UI would error out on the console --- awx/ui/static/js/helpers/Survey.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/helpers/Survey.js b/awx/ui/static/js/helpers/Survey.js index f41a5de6d2..295d9de544 100644 --- a/awx/ui/static/js/helpers/Survey.js +++ b/awx/ui/static/js/helpers/Survey.js @@ -152,9 +152,10 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', }) .error(function (data, status) { - ProcessErrors(scope, data, status, { hdr: 'Error!', - msg: 'Failed to retrieve organization: ' + $routeParams.id + '. GET status: ' + status }); + ProcessErrors(scope, data, status, null, { hdr: 'Error!', + msg: 'Failed to retrieve survey. GET returned status: ' + status }); }); + } }; }])