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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
9740f6a7
Commit
9740f6a7
authored
May 11, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add additional EE check
parent
be646ba0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
app/assets/javascripts/users_select.js
app/assets/javascripts/users_select.js
+3
-1
spec/features/issues/form_spec.rb
spec/features/issues/form_spec.rb
+0
-4
No files found.
app/assets/javascripts/users_select.js
View file @
9740f6a7
...
@@ -425,7 +425,9 @@ window.emitSidebarEvent = window.emitSidebarEvent || $.noop;
...
@@ -425,7 +425,9 @@ window.emitSidebarEvent = window.emitSidebarEvent || $.noop;
// Automatically close dropdown after assignee is selected
// Automatically close dropdown after assignee is selected
// since CE has no multiple assignees
// since CE has no multiple assignees
if
(
getSelected
().
length
===
$dropdown
.
data
(
'
max-select
'
))
{
// EE does not have a max-select
if
(
$dropdown
.
data
(
'
max-select
'
)
&&
getSelected
().
length
===
$dropdown
.
data
(
'
max-select
'
))
{
// Close the dropdown
// Close the dropdown
this
.
el
.
click
();
this
.
el
.
click
();
...
...
spec/features/issues/form_spec.rb
View file @
9740f6a7
...
@@ -32,10 +32,6 @@ describe 'New/edit issue', feature: true, js: true do
...
@@ -32,10 +32,6 @@ describe 'New/edit issue', feature: true, js: true do
click_link
user
.
name
click_link
user
.
name
end
end
# TODO: Figure out a better way to wait for dropdown CSS hide
# animation to complete
# sleep 0.3
expect
(
page
.
find
(
'.dropdown-menu-user'
,
visible:
false
)).
not_to
be_visible
expect
(
page
.
find
(
'.dropdown-menu-user'
,
visible:
false
)).
not_to
be_visible
end
end
end
end
...
...
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