Skip to content
Snippets Groups Projects
Commit bd349c2d authored by Rakesh Kumar Regar's avatar Rakesh Kumar Regar Committed by Kapil Kumar
Browse files

Issue #3393300: Delete button not working

parent a242df0a
Branches 1.0.x
No related tags found
1 merge request!18Issue #3393300: Delete button not working
...@@ -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;
} }
......
...@@ -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'),
......
...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment