Commit f2393926 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

Suppression de l'utilisation de la variable projectId devenue inutile dans des...

Suppression de l'utilisation de la variable projectId devenue inutile dans des urls d'appels asynchrones
parent 1fb14277
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ class EADDocumentsBasket {
    }

    async hydrateItems() {
        let response = await fetch(baseURI + this.project_id + "/ead/fetch_basket_data.html", {
        let response = await fetch(baseURI  + "/ead/fetch_basket_data.html", {
            method: "post",
            headers: {
                'Accept': 'application/xml',
@@ -152,7 +152,7 @@ async function initPorteDocumentsPage(project_id) {
                	let noticeId = notice.dataset.node_id
                	docItems.push(noticeId)
                });
                window.open(baseURI + project_id + "/ead/basket.pdf?items=" + (docItems.join()), '_blank');
                window.open(baseURI + "/ead/basket.pdf?items=" + (docItems.join()), '_blank');
            });
        }