From 322b1ea20e8d662e7d61012ebd809755de1b5aa0 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Sun, 30 Jun 2013 03:44:12 -0400 Subject: [PATCH] Fixed a typographical mistakes in ProcessError calls. --- awx/ui/static/js/helpers/Hosts.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/awx/ui/static/js/helpers/Hosts.js b/awx/ui/static/js/helpers/Hosts.js index 642868c450..96d0c6bfd5 100644 --- a/awx/ui/static/js/helpers/Hosts.js +++ b/awx/ui/static/js/helpers/Hosts.js @@ -219,7 +219,7 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H }) .error( function(data, status, headers, config) { ProcessErrors(scope, data, status, form, - { hdr: 'Error!', msg: 'Failed to add new group. Post returned status: ' + status }); + { hdr: 'Error!', msg: 'Failed to add new host. POST returned status: ' + status }); }); } catch(err) { @@ -314,7 +314,7 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H }) .error( function(data, status, headers, config) { ProcessErrors(scope, data, status, form, - { hdr: 'Error!', msg: 'Failed to retrieve host: ' + id + '. GET status: ' + status }); + { hdr: 'Error!', msg: 'Failed to retrieve host: ' + id + '. GET returned status: ' + status }); }); if (!scope.$$phase) { @@ -360,11 +360,11 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H }) .error( function(data, status, headers, config) { ProcessErrors(scope, data, status, form, - { hdr: 'Error!', msg: 'Failed to update host: ' + host_id + '. PUT status: ' + status }); + { hdr: 'Error!', msg: 'Failed to update host: ' + host_id + '. PUT returned status: ' + status }); }); } catch(err) { - Alert("Error", "Error parsing group variables. Parser returned: " + err); + Alert("Error", "Error parsing host variables. Parser returned: " + err); } };