removed buttons to select OU
This commit is contained in:
parent
475d493156
commit
9a62bdc1f3
|
@ -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") . "\">");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue