From 8c5fb4bca4386647c91b3ee853fbbea055da3dd4 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Thu, 6 Feb 2014 13:40:44 -0500 Subject: [PATCH] AC-1021 fixed javascript error on group edit save. When user makes changes to a group, we attempt to update the group name and title on the tree view. The update process was building an invalid string. --- awx/ui/static/lib/ansible/InventoryTree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/lib/ansible/InventoryTree.js b/awx/ui/static/lib/ansible/InventoryTree.js index ac4b13e68b..7a56db007e 100644 --- a/awx/ui/static/lib/ansible/InventoryTree.js +++ b/awx/ui/static/lib/ansible/InventoryTree.js @@ -202,7 +202,7 @@ angular.module('InventoryTree', ['Utilities', 'RestServices', 'GroupsHelper', 'P // Update any titles attributes created by ApplyEllipsis if (old_name) { setTimeout(function() { - $('#groups_table .group-name a[title="' + old_name + '"').attr('title',properties.name); + $('#groups_table .group-name a[title="' + old_name + '"]').attr('title',properties.name); ApplyEllipsis('#groups_table .group-name a'); }, 2500); }