summaryrefslogtreecommitdiff
path: root/classes/Pref_Users.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Pref_Users.php')
-rw-r--r--classes/Pref_Users.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/classes/Pref_Users.php b/classes/Pref_Users.php
index 78291592d..9532bded5 100644
--- a/classes/Pref_Users.php
+++ b/classes/Pref_Users.php
@@ -210,11 +210,13 @@ class Pref_Users extends Handler_Administrative {
<div dojoType='fox.Toolbar'>
<div style='float : right'>
- <input dojoType='dijit.form.TextBox' id='user_search' size='20' type='search'
- value="<?= htmlspecialchars($user_search) ?>">
- <button dojoType='dijit.form.Button' onclick='Users.reload()'>
- <?= __('Search') ?>
- </button>
+ <form dojoType="dijit.form.Form" onsubmit="Users.reload(); return false;">
+ <input dojoType='dijit.form.TextBox' id='user_search' size='20' type='search'
+ value="<?= htmlspecialchars($user_search) ?>">
+ <button dojoType='dijit.form.Button' type='submit'>
+ <?= __('Search') ?>
+ </button>
+ </form>
</div>
<div dojoType='fox.form.DropDownButton'>