ATLAS-2502 : UI - Entity page not rendering tags and loader keeps loading when server 403 during deleting classification
Signed-off-by: nixonrodrigues <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/809a99c8 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/809a99c8 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/809a99c8 Branch: refs/heads/master Commit: 809a99c8a7601b7ede3f6d5da4bfd68d970a38e6 Parents: 242733c Author: kevalbhatt <[email protected]> Authored: Fri Mar 16 13:10:36 2018 +0530 Committer: nixonrodrigues <[email protected]> Committed: Fri Mar 16 18:51:36 2018 +0530 ---------------------------------------------------------------------- .../public/js/templates/search/SearchResultLayoutView_tmpl.html | 2 +- dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/809a99c8/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html b/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html index c23a8c5..fb9481a 100644 --- a/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html +++ b/dashboardv2/public/js/templates/search/SearchResultLayoutView_tmpl.html @@ -51,9 +51,9 @@ </div> </div> <div id="r_searchResultTableLayoutView"> + <h1><b>{{searchType}}</b></h1> {{#if entityCreate}} <div class="entityLink" style="display:none"> - <h1><b>{{searchType}}</b></h1> <p class="entityLink">Search Atlas for existing entities or <a href="javascript:void(0)" data-id='createEntity'> create new entity </a> </p> http://git-wip-us.apache.org/repos/asf/atlas/blob/809a99c8/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js b/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js index 7bcda67..7c0cd55 100644 --- a/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js +++ b/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js @@ -312,6 +312,7 @@ define(['require', tagName = options.el.text(); Utils.showTitleLoader(this.$('.page-title .fontLoader'), this.$('.entityDetail')); CommonViewFunction.deleteTag(_.extend({}, options, { + hideLoader: that.hideLoader.bind(that), callback: function() { that.fetchCollection(); }
