summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/filterbox.html
diff options
context:
space:
mode:
authorSimon Rettberg2016-09-09 12:19:02 +0200
committerSimon Rettberg2016-09-09 12:19:02 +0200
commit95e8e6b20e2de276a584a340c8114ee500f3b1f5 (patch)
treef2c3d8a83143f043d38d61540b8070764bae06d5 /modules-available/statistics/templates/filterbox.html
parent[statistics] Fix list sorting once again (diff)
downloadslx-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/templates/filterbox.html')
-rw-r--r--modules-available/statistics/templates/filterbox.html4
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>