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
Boxiang Sun
gitlab-ce
Commits
fab9244c
Commit
fab9244c
authored
Nov 22, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport disable autocomplete
parent
9fefb6c2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
3 deletions
+28
-3
app/assets/javascripts/issue_show/components/app.vue
app/assets/javascripts/issue_show/components/app.vue
+6
-0
app/assets/javascripts/issue_show/components/fields/description.vue
.../javascripts/issue_show/components/fields/description.vue
+8
-1
app/assets/javascripts/issue_show/components/form.vue
app/assets/javascripts/issue_show/components/form.vue
+8
-1
app/assets/javascripts/vue_shared/components/markdown/field.vue
...sets/javascripts/vue_shared/components/markdown/field.vue
+6
-1
No files found.
app/assets/javascripts/issue_show/components/app.vue
View file @
fab9244c
...
...
@@ -34,6 +34,11 @@ export default {
required
:
false
,
default
:
true
,
},
enableAutocomplete
:
{
type
:
Boolean
,
required
:
false
,
default
:
true
,
},
issuableRef
:
{
type
:
String
,
required
:
true
,
...
...
@@ -240,6 +245,7 @@ export default {
:project-namespace=
"projectNamespace"
:show-delete-button=
"showDeleteButton"
:can-attach-file=
"canAttachFile"
:enable-autocomplete=
"enableAutocomplete"
/>
<div
v-else
>
<title-component
...
...
app/assets/javascripts/issue_show/components/fields/description.vue
View file @
fab9244c
...
...
@@ -22,6 +22,11 @@
required
:
false
,
default
:
true
,
},
enableAutocomplete
:
{
type
:
Boolean
,
required
:
false
,
default
:
true
,
},
},
components
:
{
markdownField
,
...
...
@@ -42,7 +47,9 @@
<markdown-field
:markdown-preview-path=
"markdownPreviewPath"
:markdown-docs-path=
"markdownDocsPath"
:can-attach-file=
"canAttachFile"
>
:can-attach-file=
"canAttachFile"
:enable-autocomplete=
"enableAutocomplete"
>
<textarea
id=
"issue-description"
class=
"note-textarea js-gfm-input js-autosize markdown-area"
...
...
app/assets/javascripts/issue_show/components/form.vue
View file @
fab9244c
...
...
@@ -46,6 +46,11 @@
required
:
false
,
default
:
true
,
},
enableAutocomplete
:
{
type
:
Boolean
,
required
:
false
,
default
:
true
,
},
},
components
:
{
lockedWarning
,
...
...
@@ -89,7 +94,9 @@
:form-state=
"formState"
:markdown-preview-path=
"markdownPreviewPath"
:markdown-docs-path=
"markdownDocsPath"
:can-attach-file=
"canAttachFile"
/>
:can-attach-file=
"canAttachFile"
:enable-autocomplete=
"enableAutocomplete"
/>
<edit-actions
:form-state=
"formState"
:can-destroy=
"canDestroy"
...
...
app/assets/javascripts/vue_shared/components/markdown/field.vue
View file @
fab9244c
...
...
@@ -30,6 +30,11 @@
required
:
false
,
default
:
true
,
},
enableAutocomplete
:
{
type
:
Boolean
,
required
:
false
,
default
:
true
,
},
},
data
()
{
return
{
...
...
@@ -97,7 +102,7 @@
/*
GLForm class handles all the toolbar buttons
*/
return
new
GLForm
(
$
(
this
.
$refs
[
'
gl-form
'
]),
t
ru
e
);
return
new
GLForm
(
$
(
this
.
$refs
[
'
gl-form
'
]),
t
his
.
enableAutocomplet
e
);
},
beforeDestroy
()
{
const
glForm
=
$
(
this
.
$refs
[
'
gl-form
'
]).
data
(
'
gl-form
'
);
...
...
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