From 5c76c10a1df0aaedb0658e79f33546b1d8b98f0f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 13 May 2007 14:08:10 +0000 Subject: [PATCH] OU combo now reloads page with Java Script --- lam/lib/lists.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index e0b03c5a..8c7ef749 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -517,7 +517,7 @@ class lamList { function listShowOUSelection() { if (sizeof($this->possibleSuffixes) > 1) { echo ("" . _("Suffix") . ": "); - echo ("type . "\" size=1 name=\"suffix\" onchange=\"listOUchanged()\">\n"); for ($i = 0; $i < sizeof($this->possibleSuffixes); $i++) { if ($this->suffix == $this->possibleSuffixes[$i]) { echo ("\n"); @@ -586,6 +586,7 @@ class lamList { function listPrintJavaScript() { echo "\n"; } @@ -672,6 +680,7 @@ class lamList { else $this->sortColumn = strtolower($this->attrArray[0]); // check search suffix if (isset($_POST['suffix'])) $this->suffix = $_POST['suffix']; // new suffix selected via combobox + elseif (isset($_GET['suffix'])) $this->suffix = $_GET['suffix']; // new suffix selected via combobox elseif (!$this->suffix) $this->suffix = $_SESSION["config"]->get_Suffix($this->type); // default suffix // check if LDAP data should be refreshed $this->refresh = true;