summaryrefslogtreecommitdiff
path: root/lib/plugins/usermanager/admin.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-01-26 22:29:26 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-01-26 22:29:26 +0100
commitc632fc6976ca908ee16e910f9d214980bf29c43d (patch)
tree51532ce1a8e37b8f20e2b480e05f9e0c1c604458 /lib/plugins/usermanager/admin.php
parent2411dd85bb9ace6f72b8b3e43e7ddba1855cfc99 (diff)
downloadrpg-c632fc6976ca908ee16e910f9d214980bf29c43d.tar.gz
rpg-c632fc6976ca908ee16e910f9d214980bf29c43d.tar.bz2
scroll__here support
This adds a simple JavaScript behavior. When an element with the id 'scroll__here' is found in the document the browser will scroll this element into view. Useful to scroll to some output after form submitting. darcs-hash:20060126212926-7ad00-b359915a5d6a299652134d8dfa64015786283b6b.gz
Diffstat (limited to 'lib/plugins/usermanager/admin.php')
-rw-r--r--lib/plugins/usermanager/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/usermanager/admin.php b/lib/plugins/usermanager/admin.php
index 64ef0f5ff..b7ee03215 100644
--- a/lib/plugins/usermanager/admin.php
+++ b/lib/plugins/usermanager/admin.php
@@ -226,7 +226,7 @@ class admin_plugin_usermanager extends DokuWiki_Admin_Plugin {
}
if($this->_edit_user && $this->_auth->canDo('modifyUser')){
- ptln("<div".$style.">");
+ ptln("<div".$style." id=\"scroll__here\">");
print $this->locale_xhtml('edit');
ptln(" <div class=\"level2\">");