mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
[Organization] The download full PDF button is disabled when pages are selected
This commit is contained in:
parent
1eb0f5101b
commit
5a4309fcf3
@ -517,6 +517,7 @@ var updateGlobalState = function() {
|
||||
document.querySelector('#top_bar_action_selection').classList.add('d-none');
|
||||
document.querySelector('#bottom_bar_action').classList.remove('d-none');
|
||||
document.querySelector('#bottom_bar_action_selection').classList.add('d-none');
|
||||
document.querySelector('#save').removeAttribute('disabled');
|
||||
|
||||
if(isSelectionMode()) {
|
||||
document.querySelector('#container_btn_select .card-header span').innerText = document.querySelectorAll('.canvas-container .input-select:checked').length;
|
||||
@ -538,6 +539,7 @@ var updateGlobalState = function() {
|
||||
document.querySelector('#top_bar_action').classList.add('d-none');
|
||||
document.querySelector('#bottom_bar_action_selection').classList.remove('d-none');
|
||||
document.querySelector('#bottom_bar_action').classList.add('d-none');
|
||||
document.querySelector('#save').setAttribute('disabled', 'disabled');
|
||||
}
|
||||
if(isDraggedMode()) {
|
||||
document.querySelector('#modalDrag .modal-body').insertAdjacentElement('afterbegin', document.querySelector('#container-pages'));
|
||||
|
@ -152,6 +152,6 @@
|
||||
<script>
|
||||
var maxSize = <?php echo $maxSize ?>;
|
||||
</script>
|
||||
<script src="/js/organization.js?2022101800002"></script>
|
||||
<script src="/js/organization.js?202212070154"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user