Skip to content
Snippets Groups Projects
Commit 8c61c83b authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #59621 swap submit buttons

parent cfb6791a
Branches
Tags
2 merge requests!2334Master,!2128Dev#59621 amelioration ergonomie popup
Pipeline #1254 passed with stage
in 18 minutes and 23 seconds
......@@ -71,9 +71,12 @@ class ZendAfi_View_Helper_Admin_RenderForm extends ZendAfi_View_Helper_RenderFor
protected function _renderDefaultButtons($form, $buttons = []) {
if ($this->view->isPopup())
$buttons = array_merge([$this->view->Button_Continue()],
if ($this->view->isPopup()) {
$submit = array_shift($buttons);
$buttons = array_merge([$submit],
[$this->view->Button_Continue()],
$buttons);
}
return $this->_tag('div',
implode($buttons),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment