Browse Source

HUE-682 [beeswax] Error tab doesn't open

Romain Rigaux 13 years ago
parent
commit
c1e51693d1
1 changed files with 16 additions and 12 deletions
  1. 16 12
      apps/beeswax/src/beeswax/templates/execute.mako

+ 16 - 12
apps/beeswax/src/beeswax/templates/execute.mako

@@ -246,18 +246,22 @@ ${layout.menubar(section='query')}
 	        % endif
 	        % endif
 
 
 	        % if error_messages or log:
 	        % if error_messages or log:
-				<ul class="nav nav-tabs">
-					<li class="active"><a href="#queryPane" data-toggle="tab">Query</a></li>
-					% if error_message or log:
-	              	<li><a href="#errorPane">
-						% if log:
-							Error Log
-						% else:
-							&nbsp;
-		                % endif
-					</a></li>
-					% endif
-				</ul>
+                <ul class="nav nav-tabs">
+                    <li class="active">
+                        <a href="#queryPane" data-toggle="tab">Query</a>
+                    </li>
+                    % if error_message or log:
+                      <li>
+                        <a href="#errorPane" data-toggle="tab">
+                        % if log:
+                            Error Log
+                        % else:
+                            &nbsp;
+                        % endif
+                        </a>
+                    </li>
+                    % endif
+                </ul>
 
 
 				<div class="tab-content">
 				<div class="tab-content">
 					<div class="active tab-pane" id="queryPane">
 					<div class="active tab-pane" id="queryPane">