Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advance_script_manager
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
advance_script_manager
Commits
bd349c2d
Commit
bd349c2d
authored
1 year ago
by
Rakesh Kumar Regar
Committed by
Kapil Kumar
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3393300
: Delete button not working
parent
a242df0a
Branches
1.0.x
No related tags found
1 merge request
!18
Issue #3393300: Delete button not working
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/Form/ListScriptsFormDeleteMultiple.php
+1
-0
1 addition, 0 deletions
src/Form/ListScriptsFormDeleteMultiple.php
src/Form/ListscriptsForm.php
+4
-0
4 additions, 0 deletions
src/Form/ListscriptsForm.php
src/Form/ScriptsFormDelete.php
+1
-1
1 addition, 1 deletion
src/Form/ScriptsFormDelete.php
with
6 additions
and
1 deletion
src/Form/ListScriptsFormDeleteMultiple.php
+
1
−
0
View file @
bd349c2d
...
@@ -87,6 +87,7 @@ class ListScriptsFormDeleteMultiple extends ConfirmFormBase {
...
@@ -87,6 +87,7 @@ class ListScriptsFormDeleteMultiple extends ConfirmFormBase {
* {@inheritdoc}
* {@inheritdoc}
*/
*/
public
function
buildForm
(
array
$form
,
FormStateInterface
$form_state
)
{
public
function
buildForm
(
array
$form
,
FormStateInterface
$form_state
)
{
$form
=
parent
::
buildForm
(
$form
,
$form_state
);
return
$form
;
return
$form
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/Form/ListscriptsForm.php
+
4
−
0
View file @
bd349c2d
...
@@ -120,6 +120,10 @@ class ListscriptsForm extends FormBase {
...
@@ -120,6 +120,10 @@ class ListscriptsForm extends FormBase {
],
],
];
];
$form
[
'actions'
]
=
[
'#type'
=>
'actions'
,
];
$form
[
'actions'
][
'submit'
]
=
[
$form
[
'actions'
][
'submit'
]
=
[
'#type'
=>
'submit'
,
'#type'
=>
'submit'
,
'#value'
=>
$this
->
t
(
'Apply to selected scripts'
),
'#value'
=>
$this
->
t
(
'Apply to selected scripts'
),
...
...
This diff is collapsed.
Click to expand it.
src/Form/ScriptsFormDelete.php
+
1
−
1
View file @
bd349c2d
...
@@ -82,7 +82,7 @@ class ScriptsFormDelete extends ConfirmFormBase {
...
@@ -82,7 +82,7 @@ class ScriptsFormDelete extends ConfirmFormBase {
* {@inheritdoc}
* {@inheritdoc}
*/
*/
public
function
buildForm
(
array
$form
,
FormStateInterface
$form_state
)
{
public
function
buildForm
(
array
$form
,
FormStateInterface
$form_state
)
{
$form
=
parent
::
buildForm
(
$form
,
$form_state
);
return
$form
;
return
$form
;
}
}
...
...
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