diff --git a/public/js/organization.js b/public/js/organization.js index dc583bf..7de8f65 100644 --- a/public/js/organization.js +++ b/public/js/organization.js @@ -494,6 +494,7 @@ var updateGlobalState = function() { button.setAttribute('disabled', 'disabled'); }); document.querySelector('#container_btn_select .card-header span').innerText = "Aucune"; + document.querySelector('#container_btn_select .card-footer').classList.add('d-none'); document.querySelector('#backdrop_drag_mode').classList.add('d-none') document.querySelector('#div-margin-top').classList.remove('d-none'); document.querySelector('#div-margin-bottom').classList.remove('d-none');; @@ -519,6 +520,7 @@ var updateGlobalState = function() { button.classList.remove('btn-outline-secondary'); button.removeAttribute('disabled'); }); + document.querySelector('#container_btn_select .card-footer').classList.remove('d-none'); document.querySelectorAll('.canvas-container .btn-add').forEach(function(button) { button.classList.remove('d-none'); }); @@ -621,6 +623,10 @@ var createEventsListener = function() { nbPagePerLine--; pageRenderAll(); }); + document.getElementById('btn_cancel_select_footer').addEventListener('click', function(event) { + document.getElementById('btn_cancel_select').click(); + this.blur(); + }); document.getElementById('btn_cancel_select_mobile').addEventListener('click', function(event) { document.getElementById('btn_cancel_select').click(); this.blur(); diff --git a/templates/organization.html.php b/templates/organization.html.php index af16da1..0fdf52f 100644 --- a/templates/organization.html.php +++ b/templates/organization.html.php @@ -44,7 +44,7 @@
-
+
@@ -76,6 +76,7 @@
+
@@ -102,7 +103,10 @@
-
Aucune page(s) séléctionnée(s)
+
+ +
+
Aucune page(s)