// Add Modernizr and Modernizr-loads check and loading for unsuported browsers

This commit is contained in:
Jerome Nadaud
2013-11-12 09:54:20 +01:00
parent d7dd85d7d0
commit 3931914203
5 changed files with 135 additions and 2 deletions
+2 -2
View File
@@ -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'))
{