ATLAS-4695:UI: Clicking on term assigned to deleted entity in entity details page results in error.
Signed-off-by: Prasad Pawar <prasad.pawar@freestoneinfotech.com>
This commit is contained in:
parent
525b328071
commit
35c17989b6
|
|
@ -100,7 +100,7 @@ define(['require',
|
|||
};
|
||||
events["click " + this.ui.termClick] = function(e) {
|
||||
if ((e.target.nodeName.toLocaleLowerCase() != "i") && (!$(e.target).hasClass("parent-list-btn")) && (!$(e.target).hasClass("fa"))) {
|
||||
var guid = $(e.currentTarget).find('.fa-close').data('guid'),
|
||||
var guid = $(e.currentTarget).find('i').data('guid'),
|
||||
gType = "term";
|
||||
Utils.setUrl({
|
||||
url: '#!/glossary/' + guid,
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ define(['require',
|
|||
};
|
||||
events["click " + this.ui.termClick] = function(e) {
|
||||
if ((e.target.nodeName.toLocaleLowerCase() != "i") && (!$(e.target).hasClass("parent-list-btn")) && (!$(e.target).hasClass("fa"))) {
|
||||
var guid = $(e.currentTarget).find('.fa-close').data('guid'),
|
||||
var guid = $(e.currentTarget).find('i').data('guid'),
|
||||
gType = "term";
|
||||
Utils.setUrl({
|
||||
url: '#!/glossary/' + guid,
|
||||
|
|
|
|||
Loading…
Reference in New Issue