Commit c61bab91 authored by Pramith Dayananda's avatar Pramith Dayananda Committed by Robert Lyon

Bug 1731404: fix suspended/ expired user select

fixed following:
jQuery get user type from dropdown usertype_type
the list does not work if no pagination needed


Change-Id: I2da46141bd3c12969ab5523b5c822cd85978b8e9
(cherry picked from commit b8d6797c)
parent c0bd33c7
......@@ -127,7 +127,7 @@ jQuery(function ($) {
'offset': 0,
'sesskey': config['sesskey'],
'setlimit': true,
'type': $('usertype_type').value,
'type': $('#usertype_type option:selected').val(),
......@@ -220,7 +220,7 @@ return function(id, list, heading, script, extradata) {
if (firstLink.length) {
else if (results.length) {
else if (results && results.length > 0) {
results.prop('tabindex', -1)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment