mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 12:40:06 -03:30
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user