|
|
@ -45,16 +45,14 @@ define('forum/users', ['translator'], function(translator) {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function doSearch(page) {
|
|
|
|
function doSearch() {
|
|
|
|
$('[component="user/search/icon"]').removeClass('fa-search').addClass('fa-spinner fa-spin');
|
|
|
|
$('[component="user/search/icon"]').removeClass('fa-search').addClass('fa-spinner fa-spin');
|
|
|
|
var username = $('#search-user').val();
|
|
|
|
var username = $('#search-user').val();
|
|
|
|
page = page || 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var activeSection = getActiveSection();
|
|
|
|
var activeSection = getActiveSection();
|
|
|
|
|
|
|
|
|
|
|
|
var query = {
|
|
|
|
var query = {
|
|
|
|
section: activeSection,
|
|
|
|
section: activeSection,
|
|
|
|
page: page
|
|
|
|
page: 1
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
if (!username) {
|
|
|
|
if (!username) {
|
|
|
|