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
dae670bd
Commit
dae670bd
authored
Oct 01, 2014
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Search for 'div-dropzone' correctly
parent
63377c9b
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
app/assets/javascripts/markdown_area.js.coffee
app/assets/javascripts/markdown_area.js.coffee
+1
-1
app/views/projects/issues/_form.html.haml
app/views/projects/issues/_form.html.haml
+1
-1
app/views/projects/merge_requests/_form.html.haml
app/views/projects/merge_requests/_form.html.haml
+1
-1
app/views/projects/merge_requests/_new_submit.html.haml
app/views/projects/merge_requests/_new_submit.html.haml
+1
-1
app/views/projects/milestones/_form.html.haml
app/views/projects/milestones/_form.html.haml
+1
-1
app/views/projects/notes/_form.html.haml
app/views/projects/notes/_form.html.haml
+1
-1
app/views/projects/wikis/_form.html.haml
app/views/projects/wikis/_form.html.haml
+1
-1
No files found.
app/assets/javascripts/markdown_area.js.coffee
View file @
dae670bd
...
@@ -190,7 +190,7 @@ $(document).ready ->
...
@@ -190,7 +190,7 @@ $(document).ready ->
$
(
".markdown-selector"
).
click
(
e
)
->
$
(
".markdown-selector"
).
click
(
e
)
->
e
.
preventDefault
()
e
.
preventDefault
()
$
(
@
).
closest
(
".note-write-holder"
).
find
(
".div-dropzone"
).
click
()
$
(
@
).
closest
(
'.gfm-form'
).
find
(
'.div-dropzone'
).
click
()
return
return
return
return
app/views/projects/issues/_form.html.haml
View file @
dae670bd
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
.alert.alert-info
.alert.alert-info
=
"Please review the <strong>
#{
link_to
"guidelines for contribution"
,
contribution_guide_url
}
</strong> to this repository."
.
html_safe
=
"Please review the <strong>
#{
link_to
"guidelines for contribution"
,
contribution_guide_url
}
</strong> to this repository."
.
html_safe
=
form_for
[
@project
,
@issue
],
html:
{
class:
'form-horizontal issue-form'
}
do
|
f
|
=
form_for
[
@project
,
@issue
],
html:
{
class:
'form-horizontal issue-form
gfm-form
'
}
do
|
f
|
=
render
'projects/issuable_form'
,
f:
f
,
issuable:
@issue
=
render
'projects/issuable_form'
,
f:
f
,
issuable:
@issue
.form-group
.form-group
=
f
.
label
:label_ids
,
class:
'control-label'
do
=
f
.
label
:label_ids
,
class:
'control-label'
do
...
...
app/views/projects/merge_requests/_form.html.haml
View file @
dae670bd
=
form_for
[
@project
,
@merge_request
],
html:
{
class:
"merge-request-form form-horizontal"
}
do
|
f
|
=
form_for
[
@project
,
@merge_request
],
html:
{
class:
'merge-request-form form-horizontal gfm-form'
}
do
|
f
|
.merge-request-form-info
.merge-request-form-info
=
render
'projects/issuable_form'
,
f:
f
,
issuable:
@merge_request
=
render
'projects/issuable_form'
,
f:
f
,
issuable:
@merge_request
.form-group
.form-group
...
...
app/views/projects/merge_requests/_new_submit.html.haml
View file @
dae670bd
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
%span
.pull-right
%span
.pull-right
=
link_to
'Change branches'
,
new_project_merge_request_path
(
@project
)
=
link_to
'Change branches'
,
new_project_merge_request_path
(
@project
)
=
form_for
[
@project
,
@merge_request
],
html:
{
class:
"merge-request-form"
}
do
|
f
|
=
form_for
[
@project
,
@merge_request
],
html:
{
class:
"merge-request-form
gfm-form
"
}
do
|
f
|
.panel.panel-default
.panel.panel-default
.panel-body
.panel-body
...
...
app/views/projects/milestones/_form.html.haml
View file @
dae670bd
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
%hr
%hr
=
form_for
[
@project
,
@milestone
],
html:
{
class:
"new_milestone form-horizontal"
}
do
|
f
|
=
form_for
[
@project
,
@milestone
],
html:
{
class:
"new_milestone form-horizontal
gfm-form
"
}
do
|
f
|
-
if
@milestone
.
errors
.
any?
-
if
@milestone
.
errors
.
any?
.alert.alert-danger
.alert.alert-danger
%ul
%ul
...
...
app/views/projects/notes/_form.html.haml
View file @
dae670bd
=
form_for
[
@project
,
@note
],
remote:
true
,
html:
{
:'data-type'
=>
'json'
,
multipart:
true
,
id:
nil
,
class:
"new_note js-new-note-form common-note-form"
},
authenticity_token:
true
do
|
f
|
=
form_for
[
@project
,
@note
],
remote:
true
,
html:
{
:'data-type'
=>
'json'
,
multipart:
true
,
id:
nil
,
class:
"new_note js-new-note-form common-note-form
gfm-form
"
},
authenticity_token:
true
do
|
f
|
=
note_target_fields
=
note_target_fields
=
f
.
hidden_field
:commit_id
=
f
.
hidden_field
:commit_id
=
f
.
hidden_field
:line_code
=
f
.
hidden_field
:line_code
...
...
app/views/projects/wikis/_form.html.haml
View file @
dae670bd
=
form_for
[
@project
,
@page
],
method:
@page
.
persisted?
?
:put
:
:post
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
=
form_for
[
@project
,
@page
],
method:
@page
.
persisted?
?
:put
:
:post
,
html:
{
class:
'form-horizontal
gfm-form
'
}
do
|
f
|
-
if
@page
.
errors
.
any?
-
if
@page
.
errors
.
any?
#error_explanation
#error_explanation
.alert.alert-danger
.alert.alert-danger
...
...
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