From 23362f81464002dc4e6cdf557d8e6d76b96f21e5 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 25 Sep 2015 16:17:23 +0200 Subject: [PATCH] remove old code, set data-query in div.ajax elements load an initial user when the page is opened --- views/bootstrap/class.UsrMgr.php | 33 ++------------------------------ 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/views/bootstrap/class.UsrMgr.php b/views/bootstrap/class.UsrMgr.php index f7565fbc6..c0d49370a 100644 --- a/views/bootstrap/class.UsrMgr.php +++ b/views/bootstrap/class.UsrMgr.php @@ -406,21 +406,6 @@ function showUser(selectObj) { id = selectObj.options[selectObj.selectedIndex].value; $('div.ajax').trigger('update', {userid: id}); } - - -obj = -1; -function showUser(selectObj) { - if (obj != -1) - obj.style.display = "none"; - - id = selectObj.options[selectObj.selectedIndex].value; - if (id == -1) - return; - - obj = document.getElementById("keywords" + id); - obj.style.display = ""; -} - contentHeading(getMLText("user_management")); @@ -444,26 +429,12 @@ function showUser(selectObj) { ?> -
+
getID()."\"" : "") ?>>
-
- - - -getID()."\" style=\"display : none;\">"; - $this->showUserForm($currUser); - print "
\n"; - } - endif; -?> -
+
getID()."\"" : "") ?>>