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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/users.php b/classes/pref/users.php
index aac0e89e5..09a88be50 100644
--- a/classes/pref/users.php
+++ b/classes/pref/users.php
@@ -12,7 +12,7 @@ class Pref_Users extends Handler_Protected {
}
function csrf_ignore($method) {
- $csrf_ignored = array("index", "edit");
+ $csrf_ignored = array("index", "edit", "userdetails");
return array_search($method, $csrf_ignored) !== false;
}
@@ -92,7 +92,7 @@ class Pref_Users extends Handler_Protected {
print "</ul>";
print "<div align='center'>
- <button onclick=\"closeInfoBox()\">".__("Close this window").
+ <button dojoType=\"dijit.form.Button\" type=\"submit\">".__("Close this window").
"</button></div>";
return;