Commit a78b9c00 by pratik24mac Committed by nixonrodrigues

ATLAS-2300 : UI - Delete Tag is not functioning from Entity Details page

parent 7892a331
......@@ -281,7 +281,8 @@ define(['require',
modal.on('ok', function() {
that.deleteTagData({
'tagName': tagName,
'guid': that.id
'guid': that.id,
'el' : $(e.currentTarget)
});
});
modal.on('closeModal', function() {
......@@ -291,7 +292,7 @@ define(['require',
},
deleteTagData: function(options) {
var that = this,
tagName = $(e.currentTarget).text();
tagName = options.el.text();
Utils.showTitleLoader(this.$('.page-title .fontLoader'), this.$('.entityDetail'));
CommonViewFunction.deleteTag(_.extend({}, options, {
callback: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment