소스 검색

HUE-6056 [assist] Hide the assist search results when clicking show in assist

Johan Ahlen 8 년 전
부모
커밋
2674499705
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      desktop/core/src/desktop/templates/assist.mako
  2. 0 1
      desktop/core/src/desktop/templates/sql_context_popover.mako

+ 1 - 0
desktop/core/src/desktop/templates/assist.mako

@@ -920,6 +920,7 @@ from notebook.conf import get_ordered_interpreters
 
         huePubSub.subscribe('assist.db.highlight', function (location) {
           huePubSub.publish('sql.context.popover.hide');
+          huePubSub.publish('assist.hide.search');
           window.setTimeout(function () {
             var foundSource;
             $.each(self.sources(), function (idx, source) {

+ 0 - 1
desktop/core/src/desktop/templates/sql_context_popover.mako

@@ -631,7 +631,6 @@ from metadata.conf import has_navigator
               sourceType: sourceType,
               path: path
             });
-            huePubSub.publish('sql.context.popover.hide')
           }));
 
           pubSubs.push(huePubSub.subscribe('sql.context.popover.open.in.metastore', function () {