소스 검색

HUE-5497 [editor] Fix JS error on type jar

Enrico Berti 9 년 전
부모
커밋
5d8ea5c
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 1 - 5
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -281,8 +281,6 @@ ${ hueIcons.symbols() }
         </div>
         <!-- /ko -->
 
-        &nbsp;&nbsp;&nbsp;
-
         <!-- ko if: editorMode -->
         <a class="btn" href="javascript:void(0)" data-bind="click: function() { newNotebook(true); }, attr: { 'title': '${ _('New ') }' +  editorTypeTitle() + '${ _('Query') }' }" rel="tooltip" data-placement="bottom">
           <i class="fa fa-file-o"></i>
@@ -298,8 +296,6 @@ ${ hueIcons.symbols() }
           <i class="fa fa-tags"></i>
         </a>
 
-        &nbsp;&nbsp;&nbsp;
-
         <a class="btn pointer" title="${ _('Context') }" rel="tooltip" data-placement="bottom" data-bind="css: {'active': $root.isContextPanelVisible }, click: function() { $root.isContextPanelVisible(!$root.isContextPanelVisible()); }">
           <i class="fa fa-cogs"></i>
         </a>
@@ -1511,7 +1507,7 @@ ${ hueIcons.symbols() }
             </div>
           </div>
           <!-- ko template: { if: ['text', 'markdown'].indexOf(type()) == -1, name: 'snippet-execution-status' } --><!-- /ko -->
-          <!-- ko template: { if: $root.editorMode() && ['java', 'spark2', 'distcp', 'shell', 'mapreduce'].indexOf(type()) == -1, name: 'snippet-code-resizer' } --><!-- /ko -->
+          <!-- ko template: { if: $root.editorMode() && ['jar', 'java', 'spark2', 'distcp', 'shell', 'mapreduce'].indexOf(type()) == -1, name: 'snippet-code-resizer' } --><!-- /ko -->
           <!-- ko if: $root.editorMode() -->
           <!-- ko template: 'snippet-log' --><!-- /ko -->
           <!-- ko template: 'query-tabs' --><!-- /ko -->