Skip to content
Snippets Groups Projects
Commit 8a673d87 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

Merge branch 'hotline#47207_message_ressources_numeriques_cvs' into 'stable'

hotline #47207 do not popup summary/availability on CVS records

See merge request !2089
parents adcd01f0 eed4f8c3
4 merge requests!2334Master,!2094Master,!2091Stable,!2089hotline #47207 do not popup summary/availability on CVS records
Pipeline #909 failed with stage
in 21 minutes and 24 seconds
- ticket #47207 : L'infobulle résumé/disponibilité ne s'affiche plus sur les résultats CVS (non applicable)
\ No newline at end of file
......@@ -2,7 +2,7 @@
/**
* Copyright (c) 2012, Agence Française Informatique (AFI). All rights reserved.
*
* BOKEH is free software; you can redistribute it and/or modify
* BOKEH is free software; you can redistribute it and/or modify
* it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by
* the Free Software Foundation.
*
......
......@@ -73,12 +73,12 @@ abstract class ZendAfi_View_Helper_ListeNotices_Abstract extends ZendAfi_View_He
Class_ScriptLoader::getInstance()
->addInlineScript("var resumeAjaxBaseUrl='".$this->view->url(['controller' => 'noticeajax', 'action' => 'resumenotice'],null,true)."';")
->addOPACScript('liste_notices_mur')
->addJQueryReady("scrollToSelectedNoticeInResult(); vignetteHover($('.liste_mur .notice[data-id]'));")
->addJQueryReady("scrollToSelectedNoticeInResult(); vignetteHover($('.resultat_recherche .liste_mur .notice[data-id]'));")
->loadPrettyPhoto();
if(Class_AdminVar::isAfficherDispoSurRechercheEnabled())
Class_ScriptLoader::getInstance()
->addInlineScript("var disponibiliteAjaxBaseUrl='".$this->view->url(['controller' => 'noticeajax', 'action' => 'dispo-notice'], null, true)."';")
->addJQueryReady("vignetteHover($('.liste_vignettes .vignette[data-id]'));");
->addJQueryReady("vignetteHover($('.resultat_recherche .liste_vignettes .vignette[data-id]'));");
else
Class_ScriptLoader::getInstance()->addInlineScript("var disponibiliteAjaxBaseUrl;");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment