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
3e8f41fb
Commit
3e8f41fb
authored
Nov 07, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Application.js confirm modal conflict fix
parent
8504e278
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
15 deletions
+4
-15
app/assets/javascripts/application.js
app/assets/javascripts/application.js
+4
-15
No files found.
app/assets/javascripts/application.js
View file @
3e8f41fb
...
...
@@ -187,27 +187,16 @@
$this
.
trigger
(
'
blur
'
);
return
e
.
preventDefault
();
});
<<<<<<<
HEAD
$document
.
off
(
"
click
"
,
'
.js-confirm-danger
'
);
$document
.
on
(
"
click
"
,
'
.js-confirm-danger
'
,
function
(
e
)
{
var
btn
,
form
,
text
,
warningMessage
;
e
.
preventDefault
();
btn
=
$
(
e
.
target
);
text
=
btn
.
data
(
"
confirm-danger-message
"
);
warningMessage
=
btn
.
data
(
"
warning-message
"
);
form
=
btn
.
closest
(
"
form
"
);
return
new
ConfirmDangerModal
(
form
,
text
,
{
warningMessage
:
warningMessage
});
=======
$document
.
off
(
'
click
'
,
'
.js-confirm-danger
'
);
$document
.
on
(
'
click
'
,
'
.js-confirm-danger
'
,
function
(
e
)
{
var
btn
=
$
(
e
.
target
);
var
form
=
btn
.
closest
(
'
form
'
);
var
text
=
btn
.
data
(
'
confirm-danger-message
'
);
var
warningMessage
=
btn
.
data
(
"
warning-message
"
);
e
.
preventDefault
();
return
new
ConfirmDangerModal
(
form
,
text
);
>>>>>>>
c392b0cc24ba40e3fed920c6c693cb24665193af
return
new
ConfirmDangerModal
(
form
,
text
,
{
warningMessage
:
warningMessage
});
});
$document
.
on
(
'
click
'
,
'
button
'
,
function
()
{
return
$
(
this
).
blur
();
...
...
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