Преглед на файлове

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

Enrico Berti преди 9 години
родител
ревизия
b44a671
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      desktop/libs/notebook/src/notebook/templates/notebook_ko_components.mako

+ 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"/>