Merge pull request #392 from marco-jantke/submit-on-enter-sandbox-mode

Pressing enter in the sandbox mode will now lead to submit the form.
This commit is contained in:
William Durand 2014-05-26 10:51:28 +02:00
commit dfb089f993

View File

@ -230,7 +230,7 @@
</p> </p>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<button class="add">New parameter</button> <button type="button" class="add">New parameter</button>
{% endif %} {% endif %}
</fieldset> </fieldset>
@ -252,7 +252,7 @@
<input type="text" class="value" placeholder="Value" /> <span class="remove">-</span> <input type="text" class="value" placeholder="Value" /> <span class="remove">-</span>
</p> </p>
<button class="add">New header</button> <button type="button" class="add">New header</button>
</fieldset> </fieldset>
<fieldset class="request-content"> <fieldset class="request-content">
@ -264,7 +264,7 @@
<input type="text" class="key content-type" value="Content-Type" disabled="disabled" /> <input type="text" class="key content-type" value="Content-Type" disabled="disabled" />
<span>=</span> <span>=</span>
<input type="text" class="value" placeholder="Value" /> <input type="text" class="value" placeholder="Value" />
<button class="set-content-type">Set header</button> <small>Replaces header if set</small> <button type="button" class="set-content-type">Set header</button> <small>Replaces header if set</small>
</p> </p>
</fieldset> </fieldset>