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

dev #57952 fix tests failures

parent bc9baad2
Branches
Tags
1 merge request!2334Master
Pipeline #1116 passed with stage
in 13 minutes and 4 seconds
......@@ -52,8 +52,15 @@ class Admin_WidgetController extends ZendAfi_Controller_Action {
$division,
$profil->getModulePositionInDiv($sibling, $division) + 1);
$profil->save();
$this->_setParam('id', $new_id);
return $this->_redirectCloseWithReload();
$widget = (new Class_Systeme_Widget_Widget())
->setId($new_id)
->setProfileId($this->_getParam('id_profil'))
->setParent($this->_getParam('parent'))
->load()
->setNewDatas($this->_request->getPost());
return $this->_update($widget);
}
$this->view->form = ZendAfi_Form_Configuration_Widget_Add::newWith([]);
......
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