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
107c39a6
Commit
107c39a6
authored
Mar 07, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop droplab from destroying itself is handled async
parent
ddf71fce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
app/assets/javascripts/boards/filtered_search_boards.js
app/assets/javascripts/boards/filtered_search_boards.js
+2
-1
app/assets/javascripts/filtered_search/filtered_search_manager.js
...ts/javascripts/filtered_search/filtered_search_manager.js
+8
-2
No files found.
app/assets/javascripts/boards/filtered_search_boards.js
View file @
107c39a6
...
@@ -3,11 +3,12 @@ export default class FilteredSearchBoards extends gl.FilteredSearchManager {
...
@@ -3,11 +3,12 @@ export default class FilteredSearchBoards extends gl.FilteredSearchManager {
super
(
'
boards
'
);
super
(
'
boards
'
);
this
.
store
=
store
;
this
.
store
=
store
;
this
.
destroyOnSubmit
=
false
this
.
isHandledAsync
=
true
;
}
}
updateObject
(
path
)
{
updateObject
(
path
)
{
this
.
store
.
path
=
path
.
substr
(
1
);
this
.
store
.
path
=
path
.
substr
(
1
);
gl
.
issueBoards
.
BoardsStore
.
updateFiltersUrl
();
gl
.
issueBoards
.
BoardsStore
.
updateFiltersUrl
();
}
}
}
}
app/assets/javascripts/filtered_search/filtered_search_manager.js
View file @
107c39a6
...
@@ -105,8 +105,14 @@
...
@@ -105,8 +105,14 @@
e
.
preventDefault
();
e
.
preventDefault
();
if
(
!
activeElements
.
length
)
{
if
(
!
activeElements
.
length
)
{
if
(
this
.
isHandledAsync
)
{
e
.
stopImmediatePropagation
();
this
.
filteredSearchInput
.
blur
();
this
.
dropdownManager
.
resetDropdowns
();
}
else
{
// Prevent droplab from opening dropdown
// Prevent droplab from opening dropdown
//this.dropdownManager.destroyDroplab();
this
.
dropdownManager
.
destroyDroplab
();
}
this
.
search
();
this
.
search
();
}
}
...
...
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