// Add Modernizr and Modernizr-loads check and loading for unsuported browsers
This commit is contained in:
@@ -1959,8 +1959,8 @@ class AdminControllerCore extends Controller
|
||||
|
||||
//loads specific javascripts for the admin theme, bootstrap.js should be moved into /js root directory
|
||||
$this->addJS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/js/vendor/bootstrap.js');
|
||||
$this->addJS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/js/vendor/enquire.js');
|
||||
$this->addJS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/js/admin-theme.js');
|
||||
$this->addJS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/js/vendor/modernizr.js');
|
||||
$this->addJS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/js/modernizr-loads.js');
|
||||
|
||||
if (!Tools::getValue('submitFormAjax'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user