Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Knowledge Space WP Plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alg
Knowledge Space WP Plugin
Commits
c99a7299
Commit
c99a7299
authored
3 years ago
by
Maximilian Giller
Browse files
Options
Downloads
Patches
Plain Diff
Adjusted confirm text
parent
d32f159c
No related branches found
No related tags found
No related merge requests found
Pipeline
#52786
passed
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
editor/js/tools/deletetool.js
+1
-1
1 addition, 1 deletion
editor/js/tools/deletetool.js
with
1 addition
and
1 deletion
editor/js/tools/deletetool.js
+
1
−
1
View file @
c99a7299
...
...
@@ -48,7 +48,7 @@ export default class DeleteTool extends Tool {
var
nodeNames
=
selectedNodes
.
map
((
n
)
=>
n
[
Graph
.
NODE_LABEL
]);
//! Problem: If browser is not actually showing the alerts, it always returns false!
var
shouldDelete
=
confirm
(
"
Do
you wan
na
delete all these nodes
:
\n\n
"
+
nodeNames
.
join
(
"
\n
"
)
"
Are you sure
you wan
t to
delete all these nodes
?
\n\n
"
+
nodeNames
.
join
(
"
\n
"
)
);
// Delete if confirmed
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment