[-] BO : fix #PSCFV-2377 - missing JS files when saving product with errors
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15338 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -150,9 +150,6 @@ abstract class ControllerCore
|
||||
$this->init();
|
||||
if ($this->checkAccess())
|
||||
{
|
||||
if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
|
||||
$this->setMedia();
|
||||
|
||||
// postProcess handles ajaxProcess
|
||||
$this->postProcess();
|
||||
|
||||
@@ -160,7 +157,10 @@ abstract class ControllerCore
|
||||
$this->redirect();
|
||||
|
||||
if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
|
||||
{
|
||||
$this->setMedia();
|
||||
$this->initHeader();
|
||||
}
|
||||
|
||||
if ($this->viewAccess())
|
||||
$this->initContent();
|
||||
|
||||
Reference in New Issue
Block a user