فهرست منبع

HUE-5204 [beeswax] Hide editor links to avoid falling back to old editor when doing a drop/create table operation

Enrico Berti 9 سال پیش
والد
کامیت
ac52b36
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      apps/beeswax/src/beeswax/templates/execute.mako

+ 5 - 0
apps/beeswax/src/beeswax/templates/execute.mako

@@ -2637,6 +2637,8 @@ $(document).ready(function () {
     $('#queryContainer').show();
     $('#resizePanel').show();
     $('a[href="#query"]').parent().show();
+    $('.navbar-fixed-top').show();
+    $('.resultsContainer').css('marginTop', '20px');
   }
 
   function watchPageComponents() {
@@ -2647,6 +2649,9 @@ $(document).ready(function () {
     $('#resizePanel').hide();
     $('a[href="#query"]').parent().hide();
     $('a[href="#recentTab"]').parent().hide();
+    $('a[href="#queryBuilderTab"]').parent().hide();
+    $('.navbar-fixed-top').hide();
+    $('.resultsContainer').css('marginTop', '-50px');
   }
 
   function queryPage() {