Commit 8d4eeeb4 authored by Jérôme Chauveau's avatar Jérôme Chauveau
Browse files

maj des noms de fichiers css et js + adaptation ead-search pour que ces assets...

maj des noms de fichiers css et js + adaptation ead-search pour que ces assets ne soient pas chargés sur toutes les pages d'une édition.
parent 54cf5a2b
Loading
Loading
Loading
Loading
−237

File deleted.

−269

File deleted.

+7 −2
Changes for plugins/ead_search/ead_search.xqm: 7 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -106,10 +106,15 @@ function max.plugin.ead_search:searchPage($project){
            <div class="boutonSearch"><button onclick="window.eadSearch.runEadSearch()">Rechercher</button></div>
            <div id='searchLoading'>{max.i18n:getText($project,'search.loading')}</div>
            <div id="ead-search-results"></div>
            
            <script type="text/javascript" src="{max.config:getBaseURI() ||'/plugins/ead_search/ead_search_page.js'}"></script>
        </section>

    return max.html:render($project, 'rechercher', $datalists)
    let $html := max.html:render($project, 'rechercher', $datalists)
    let $htmlWithCSS :=
        copy $c := $html
        modify insert node <link rel="stylesheet" type="text/css" href="{max.config:getBaseURI() ||'/plugins/ead_search/ead_search_page.css'}"/> into $c//*:head[1]
        return $c
    return $htmlWithCSS
};