mirror of
https://github.com/nasa/openmct.git
synced 2025-02-01 00:45:41 +00:00
[Selection] Don't reuse old paths for new items
This commit is contained in:
parent
5e3dcadfa4
commit
1be517f3ea
@ -37,6 +37,10 @@ define(['./Path', 'zepto'], function (Path, $) {
|
||||
|
||||
$element.attr('data-context', id);
|
||||
|
||||
if (this.paths[id].head() !== item) {
|
||||
this.release(htmlElement);
|
||||
}
|
||||
|
||||
if (!this.paths[id]) {
|
||||
var $parent = $element.closest('[data-context]');
|
||||
var parentId = $parent.attr('data-context');
|
||||
|
Loading…
x
Reference in New Issue
Block a user