Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
8df50acc
Commit
8df50acc
authored
11 years ago
by
Arthur Schiwon
Browse files
Options
Downloads
Patches
Plain Diff
some documentation
parent
68dc665c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
settings/js/users/filter.js
+14
-1
14 additions, 1 deletion
settings/js/users/filter.js
with
14 additions
and
1 deletion
settings/js/users/filter.js
+
14
−
1
View file @
8df50acc
...
...
@@ -5,8 +5,10 @@
*/
/**
* @brief foobar
* @brief this object takes care of the filter funcationality on the user
* management page
* @param jQuery input element that works as the user text input field
* @param object the UserList object
*/
function
UserManagementFilter
(
filterInput
,
userList
)
{
this
.
filterInput
=
filterInput
;
...
...
@@ -16,6 +18,9 @@ function UserManagementFilter(filterInput, userList) {
this
.
init
();
}
/**
* @brief sets up when the filter action shall be triggered
*/
UserManagementFilter
.
prototype
.
init
=
function
()
{
umf
=
this
;
this
.
filterInput
.
keyup
(
function
()
{
...
...
@@ -29,11 +34,19 @@ UserManagementFilter.prototype.init = function() {
});
}
/**
* @brief the filter action needs to be done, here the accurate steps are being
* taken care of
*/
UserManagementFilter
.
prototype
.
run
=
function
()
{
this
.
userList
.
empty
();
this
.
userList
.
update
();
}
/**
* @brief returns the filter String
* @returns string
*/
UserManagementFilter
.
prototype
.
getPattern
=
function
()
{
return
this
.
filterInput
.
val
();
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment