Browse Source

Do not fork when enter key pressed

Andrew Kane 7 years ago
parent
commit
10b136f81b
2 changed files with 2 additions and 0 deletions
  1. 1 0
      CHANGELOG.md
  2. 1 0
      app/views/blazer/queries/_form.html.erb

+ 1 - 0
CHANGELOG.md

@@ -1,5 +1,6 @@
 ## 1.7.1 [unreleased]
 
+- Do not fork when enter key pressed
 - Use custom version of Chart.js to fix label overlap
 
 ## 1.7.0

+ 1 - 0
app/views/blazer/queries/_form.html.erb

@@ -38,6 +38,7 @@
         <%= f.text_area :description, placeholder: "Optional", style: "height: 80px;", class: "form-control" %>
       </div>
       <div class="text-right">
+        <%= f.submit "For Enter Press", class: "hide" %>
         <% if @query.persisted? %>
           <%= link_to "Delete", query_path(@query), method: :delete, "data-confirm" => "Are you sure?", class: "btn btn-danger" %>
           <%= f.submit "Fork", class: "btn btn-info" %>