Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Angelfish
Manage
Activity
Members
Labels
Plan
Issues
57
Issue boards
Milestones
Wiki
Bugzilla
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Network
Angelfish
Merge requests
!86
Add cancel button to java script confirm dialog
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add cancel button to java script confirm dialog
jbbgameich/plasma-angelfish:feature/confirm-cancel
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Jonah Brüchert
requested to merge
jbbgameich/plasma-angelfish:feature/confirm-cancel
into
master
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
master
version 1
643ecc6b
4 years ago
master (base)
and
latest version
latest version
9630ec4a
1 commit,
4 years ago
version 1
643ecc6b
1 commit,
4 years ago
1 file
+
16
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/contents/ui/JavaScriptDialogSheet.qml
+
16
−
5
Options
@@ -25,11 +25,22 @@ Kirigami.OverlaySheet {
Component
{
id
:
confirm
Controls.Button
{
text
:
i18n
(
"
Confirm
"
)
onClicked
:
{
dialogSheet
.
request
.
dialogAccept
()
dialogSheet
.
close
()
RowLayout
{
Controls.Button
{
Layout.fillWidth
:
true
text
:
i18n
(
"
Confirm
"
)
onClicked
:
{
dialogSheet
.
request
.
dialogAccept
()
dialogSheet
.
close
()
}
}
Controls.Button
{
Layout.fillWidth
:
true
text
:
i18n
(
"
Cancel
"
)
onClicked
:
{
dialogSheet
.
request
.
dialogReject
()
dialogSheet
.
close
()
}
}
}
}
Loading