Преглед изворни кода

HUE-4747 [editor] Download form should be submitted to a new tab otherwise the snippet gets closed

Enrico Berti пре 9 година
родитељ
комит
b44a671

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/notebook_ko_components.mako

@@ -318,7 +318,7 @@ except ImportError, e:
 
 <%def name="downloadSnippetResults()">
   <script type="text/html" id="download-results-template">
-    <form method="POST" action="${ url('notebook:download') }" class="download-form" style="display: inline">
+    <form method="POST" action="${ url('notebook:download') }" class="download-form" style="display: inline" target="_blank">
       ${ csrf_token(request) | n,unicode }
       <input type="hidden" name="notebook"/>
       <input type="hidden" name="snippet"/>