diff --git a/library/ZendAfi/View/Helper/Accueil/Base.php b/library/ZendAfi/View/Helper/Accueil/Base.php index 7d2cd429df43f94d1191b0eaf1e2bcbcf0de3624..f4ad99549b41471fd04704ac02f565e3f7d34775 100644 --- a/library/ZendAfi/View/Helper/Accueil/Base.php +++ b/library/ZendAfi/View/Helper/Accueil/Base.php @@ -49,6 +49,7 @@ class ZendAfi_View_Helper_Accueil_Base extends ZendAfi_View_Helper_ModuleAbstrac if (!$this->preferences) $this->preferences = $modules_accueil->getValeursParDefaut($this->type_module); + $this->preferences = array_merge($modules_accueil->getValeursParDefaut($this->type_module), $this->preferences); } diff --git a/library/ZendAfi/View/Helper/ModuleAbstract.php b/library/ZendAfi/View/Helper/ModuleAbstract.php index bbbd105adab7b6ffaf31c42c0e86905f7aae8398..04bb5734820f008baf8dc657e1062e1de5ede0c8 100644 --- a/library/ZendAfi/View/Helper/ModuleAbstract.php +++ b/library/ZendAfi/View/Helper/ModuleAbstract.php @@ -33,6 +33,9 @@ abstract class ZendAfi_View_Helper_ModuleAbstract extends ZendAfi_View_Helper_Ba $this->id_module = $id_module; $this->preferences = array_merge($params['preferences'], $params); + + $this->preferences = array_merge($this->preferences, + $this->preferences['preferences']); } diff --git a/public/opac/js/renderFilters/ajaxifyFilters.js b/public/opac/js/renderFilters/ajaxifyFilters.js index d7699ac1912e8c14781b402d84be279dbbd17bea..dad65667fb3647c9b5d295aa56c913e0609e6ace 100644 --- a/public/opac/js/renderFilters/ajaxifyFilters.js +++ b/public/opac/js/renderFilters/ajaxifyFilters.js @@ -37,11 +37,6 @@ var onLoadComplete = function() { widget.ajaxifyFilters(); - - var offset = widget.offset(); - $('html, body').animate({scrollTop:offset.top}, - 500, - 'easeInSine'); };