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

hotline #46627 continue

parent e3567189
Branches
Tags
4 merge requests!1797Master,!1746Master,!1745Hotline master,!1742Hotline#46627 fix selection edition
......@@ -26,7 +26,7 @@ class PanierController extends ZendAfi_Controller_Action {
parent::preDispatch();
$this->_user = Class_Users::getIdentity();
if('add-record' == $this->_getParam('action'))
if('add-record-ajax' == $this->_getParam('action'))
return;
if (!$this->_user)
......
<?php
$submit = $this->form->getElement('submit');
$submit->setAttrib('onclick', "javascript:var form = $(this).closest('form'); initializeAjaxFormSubmit(form); return false;");
$submit->setAttrib('onclick', "javascript:var form = $(this).closest('form'); initializeAjaxFormSubmit(form); form.submit(); return false;");
echo $this->renderForm($this->form);
?>
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