From 02bad421bd79ca2dc89e064632e9f90260e588a5 Mon Sep 17 00:00:00 2001 From: Vincent LAURENT Date: Wed, 18 May 2022 21:28:49 +0200 Subject: [PATCH] Button downloaded the selected pages in the block rather than at the bottom instead of the global downloaded button --- public/js/organization.js | 4 ---- templates/organization.html.php | 8 +++----- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/public/js/organization.js b/public/js/organization.js index 5fb96dd..30a2025 100644 --- a/public/js/organization.js +++ b/public/js/organization.js @@ -277,8 +277,6 @@ var updateGlobalState = function() { button.classList.remove('btn-outline-primary'); button.setAttribute('disabled', 'disabled'); }); - document.querySelector('#container-btn-save-select').classList.add('d-none'); - document.querySelector('#container-btn-save').classList.remove('d-none'); document.querySelector('#container_btn_select .card-header span').innerText = "Aucune"; if(isSelectionMode()) { document.querySelector('#container_btn_select .card-header span').innerText = document.querySelectorAll('.canvas-container .input-select:checked').length; @@ -291,8 +289,6 @@ var updateGlobalState = function() { button.classList.remove('btn-outline-secondary'); button.removeAttribute('disabled'); }); - document.querySelector('#container-btn-save-select').classList.remove('d-none'); - document.querySelector('#container-btn-save').classList.add('d-none'); } } diff --git a/templates/organization.html.php b/templates/organization.html.php index 2b69c0d..e55256b 100644 --- a/templates/organization.html.php +++ b/templates/organization.html.php @@ -66,11 +66,12 @@
-
Aucune page(s) séléctionnée(s)
+
Aucune page(s) séléctionnée(s)
+
@@ -78,10 +79,7 @@
-
- -
-
+