Skip to content
Snippets Groups Projects
Commit f23f80d6 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #404 - new transaction: allow multiline for description

parent 5bbe8c96
Branches
Tags
No related merge requests found
Pipeline #802 passed
...@@ -142,8 +142,9 @@ $( document ).ready(function() { ...@@ -142,8 +142,9 @@ $( document ).ready(function() {
// prevent form submit on enter (otherwise tag functionality will be hard to use) // prevent form submit on enter (otherwise tag functionality will be hard to use)
$(document).on("keypress", 'form', function (e) { $(document).on("keypress", 'form', function (e) {
var code = e.keyCode || e.which; var code = e.keyCode || e.which;
if (code === 13) { if((code === 13) && e.target.nodeName!=='TEXTAREA') {
e.preventDefault(); e.preventDefault();
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment