Added comments

Also hiding the mail/age if said so by the user
This commit is contained in:
Lars van Hijfte
2017-02-02 10:29:49 +01:00
parent 0546b8689d
commit 60b55b3f04
15 changed files with 74 additions and 15 deletions

View File

@@ -2,6 +2,7 @@ $(window).on('load', function () {
pageNumber();
});
// Search for the users and put them in the user list.
function searchUsers() {
$.post(
"API/searchUsers.php",
@@ -13,6 +14,7 @@ function searchUsers() {
});
}
// Search for the groups and put them in the group list.
function searchGroups() {
$.post(
"API/searchGroups.php",
@@ -24,6 +26,7 @@ function searchGroups() {
});
}
// Get the page numbers and return them in the select.
function pageNumber() {
var input = input2 = $('#search-form').serialize();
$.post(