diff options
author | Simon Rettberg | 2016-09-09 12:19:02 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-09-09 12:19:02 +0200 |
commit | 95e8e6b20e2de276a584a340c8114ee500f3b1f5 (patch) | |
tree | f2c3d8a83143f043d38d61540b8070764bae06d5 /modules-available/statistics | |
parent | [statistics] Fix list sorting once again (diff) | |
download | slx-admin-95e8e6b20e2de276a584a340c8114ee500f3b1f5.tar.gz slx-admin-95e8e6b20e2de276a584a340c8114ee500f3b1f5.tar.xz slx-admin-95e8e6b20e2de276a584a340c8114ee500f3b1f5.zip |
[statistics] Fix pressing return in "add filter" dialog
Diffstat (limited to 'modules-available/statistics')
-rw-r--r-- | modules-available/statistics/templates/filterbox.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/statistics/templates/filterbox.html b/modules-available/statistics/templates/filterbox.html index 544d1c48..fca7bdea 100644 --- a/modules-available/statistics/templates/filterbox.html +++ b/modules-available/statistics/templates/filterbox.html @@ -6,7 +6,7 @@ class="sr-only">Close</span></button> {{lang_add_filter}} </div> - <form class="modal-body form-inline center"> + <form class="modal-body form-inline center" onsubmit="$('#add-btn').click(); return false"> <div class="form-group"> <select id="columnSelect" name="column" class="form-control col-4-xs"> </select> </div> @@ -17,7 +17,7 @@ <input name="argument" id="argumentInput" class="form-control col-4-xs"> </input> <select name="argument" id="argumentSelect" class="form-control col-4-xs"> </select> </div> - <button type="button" class="btn btn-primary" onclick="addFilterFromForm()"> + <button id="add-btn" type="button" class="btn btn-primary" onclick="addFilterFromForm()"> <span class="glyphicon glyphicon-plus"></span> {{lang_add}} </button> |