removed buttons to select OU

This commit is contained in:
Roland Gruber 2010-02-14 18:10:53 +00:00
parent 475d493156
commit 9a62bdc1f3
2 changed files with 8 additions and 4 deletions

View File

@ -622,7 +622,6 @@ class lamList {
else echo("<option>" . $this->possibleSuffixes[$i] . "</option>\n");
}
echo ("</select>\n");
// echo ("<input class=\"" . $this->type . "\" type=\"submit\" name=\"refresh\" value=\"" . _("Change suffix") . "\">");
}
}

View File

@ -52,9 +52,14 @@ function list_click(list, box, scope) {
}
}
function listOUchanged(type) {
selectOU = document.getElementsByName('suffix')[0];
location.href='list.php?type=' + type + '&suffix=' + selectOU.options[selectOU.selectedIndex].value;
/**
* The user changed the value in the OU selection box. This will reload the list view with the new suffix.
*
* @param type account type
* @param element dropdown box
*/
function listOUchanged(type, element) {
location.href='list.php?type=' + type + '&suffix=' + element.options[element.selectedIndex].value;
}
function SubmitForm(id, e) {