Browse Source

[spark] Do not hide and show charts when re-executing a query

Romain Rigaux 10 years ago
parent
commit
2b49af6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/spark/src/spark/templates/editor.mako

+ 1 - 1
apps/spark/src/spark/templates/editor.mako

@@ -495,7 +495,7 @@ ${ commonheader(_('Query'), app_name, user, "68px") | n,unicode }
           </div>
         </div>
 
-        <div class="row-fluid" data-bind="visible: result.fetchedOnce() && showChart()" style="max-height: 400px; margin-top: 4px">
+        <div class="row-fluid" data-bind="visible: showChart()" style="max-height: 400px; margin-top: 4px">
           <div data-bind="visible: isLeftPanelVisible, css:{'span2': isLeftPanelVisible, 'hidden': ! isLeftPanelVisible()}">
             <div class="toggle-left-panel" style="float: right; margin-right: -30px; height: 400px; line-height: 400px; margin-top:0" data-bind="click: toggleLeftPanel">
               <a title="${_('Hide settings')}" class="pointer">