This is an automated email from the ASF dual-hosted git repository. nixon pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/atlas.git
commit 3c9cbd5cd98455428ddaa56aca0604b68ab18b3a Author: prasad pawar <prasad.pa...@freestoneinfotech.com> AuthorDate: Wed May 12 12:33:17 2021 +0530 ATLAS-4280:UI:Save button is enabled when Classification description is updated with original value. fixed Signed-off-by: nixonrodrigues <ni...@apache.org> (cherry picked from commit c0cf04f7ece4af3734d1285c4385b46f8e556020) --- dashboardv2/public/js/views/tag/TagAttributeDetailLayoutView.js | 3 ++- dashboardv3/public/js/views/tag/TagAttributeDetailLayoutView.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dashboardv2/public/js/views/tag/TagAttributeDetailLayoutView.js b/dashboardv2/public/js/views/tag/TagAttributeDetailLayoutView.js index 4c40389..9b8b90f 100644 --- a/dashboardv2/public/js/views/tag/TagAttributeDetailLayoutView.js +++ b/dashboardv2/public/js/views/tag/TagAttributeDetailLayoutView.js @@ -302,8 +302,9 @@ define(['require', okText: 'Save', allowCancel: true, }).open(); - view.ui.description.on('keyup', function(e) { + view.ui.description.on('keyup input', function(e) { that.textAreaChangeEvent(view); + e.stopPropagation(); }); that.modal.$el.find('button.ok').prop('disabled', true); that.modal.on('ok', function() { diff --git a/dashboardv3/public/js/views/tag/TagAttributeDetailLayoutView.js b/dashboardv3/public/js/views/tag/TagAttributeDetailLayoutView.js index 20220f2..6e10155 100644 --- a/dashboardv3/public/js/views/tag/TagAttributeDetailLayoutView.js +++ b/dashboardv3/public/js/views/tag/TagAttributeDetailLayoutView.js @@ -306,8 +306,9 @@ define(['require', okText: 'Save', allowCancel: true, }).open(); - view.ui.description.on('keyup', function(e) { + view.ui.description.on('keyup input', function(e) { that.textAreaChangeEvent(view); + e.stopPropagation(); }); that.modal.$el.find('button.ok').prop('disabled', true); that.modal.on('ok', function() {