Fixed: The noticies on the Admin controllers when the identifier provided manually by editing the url does not exists in the database

This commit is contained in:
vishalsingh.qlo325
2024-05-07 13:07:36 +05:30
parent 8dcfc9e892
commit 646f45c783
8 changed files with 27 additions and 16 deletions

View File

@@ -398,6 +398,12 @@ class AdminNormalProductsControllerCore extends AdminController
$bo_theme = 'default';
}
Media::addJsDef(
array(
'tb_pathToImage' => '../img/loadingAnimation.gif'
)
);
$this->addJs(__PS_BASE_URI__.$this->admin_webpath.'/themes/'.$bo_theme.'/js/jquery.iframe-transport.js');
$this->addJs(__PS_BASE_URI__.$this->admin_webpath.'/themes/'.$bo_theme.'/js/jquery.fileupload.js');
$this->addJs(__PS_BASE_URI__.$this->admin_webpath.'/themes/'.$bo_theme.'/js/jquery.fileupload-process.js');