Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
929b53c6
Commit
929b53c6
authored
Feb 09, 2016
by
Josh Frye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More specific selectors
parent
120dca0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/dashboard.js.coffee
app/assets/javascripts/dashboard.js.coffee
+4
-4
No files found.
app/assets/javascripts/dashboard.js.coffee
View file @
929b53c6
@
Dashboard
=
init
:
->
$
(
"
#project-filter-form-field
"
).
off
(
'keyup'
)
$
(
"
input#project-filter-form-field,.projects-list-filter
"
).
off
(
'keyup'
)
this
.
initSearch
()
initSearch
:
->
@
timer
=
null
$
(
"#project-filter-form-field,.projects-list-filter"
).
on
(
'keyup'
,
->
$
(
"
input
#project-filter-form-field,.projects-list-filter"
).
on
(
'keyup'
,
->
clearTimeout
(
@
timer
)
@
timer
=
setTimeout
(
Dashboard
.
filterResults
,
500
)
)
...
...
@@ -14,8 +14,8 @@
$
(
'.projects-list-holder'
).
fadeTo
(
250
,
0.5
)
form
=
null
form
=
$
(
"#project-filter-form"
)
search
=
$
(
"#project-filter-form-field"
).
val
()
form
=
$
(
"
form
#project-filter-form"
)
search
=
$
(
"
input
#project-filter-form-field"
).
val
()
project_filter_url
=
form
.
attr
(
'action'
)
+
'?'
+
form
.
serialize
()
$
.
ajax
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment