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:
Chris Houseknecht
2014-02-06 13:40:44 -05:00
parent 1445fb533e
commit 8c5fb4bca4

View File

@@ -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);
}