diff --git a/application/forms/BpConfigForm.php b/application/forms/BpConfigForm.php index 1abd9872..45af23f6 100644 --- a/application/forms/BpConfigForm.php +++ b/application/forms/BpConfigForm.php @@ -139,7 +139,8 @@ public function setup() $label = $this->translate('Delete'); $el = $this->createElement('submit', $label, array( - 'data-base-target' => '_main' + 'data-base-target' => '_main', + 'onclick' => sprintf('return confirm("%s")', $this->translate('Confirm deletion')), ))->setLabel($label)->setDecorators(array('ViewHelper')); $this->deleteButtonName = $el->getName(); $this->addElement($el);