mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 11:41:08 -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
|
// Update any titles attributes created by ApplyEllipsis
|
||||||
if (old_name) {
|
if (old_name) {
|
||||||
setTimeout(function() {
|
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');
|
ApplyEllipsis('#groups_table .group-name a');
|
||||||
}, 2500);
|
}, 2500);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user