// Improve and debug backoffice order

This commit is contained in:
rGaillard
2012-02-20 13:25:55 +00:00
parent dff5720afc
commit 67d478fa39
7 changed files with 76 additions and 8 deletions
@@ -370,6 +370,13 @@ class AdminAddressesControllerCore extends AdminController
Tools::redirectAdmin(Tools::getValue('back').'&conf=4');
}
}
public function processAdd($token)
{
if (Tools::getValue('submitFormAjax'))
$this->redirect_after = false;
return parent::processAdd($token);
}
/**
* Get Address formats used by the country where the address id retrieved from POST/GET is.