-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BO - Signalement] Ajouter la modale de suppression de fichiers et la possibilité de supprimer les photos de visite #2463
[BO - Signalement] Ajouter la modale de suppression de fichiers et la possibilité de supprimer les photos de visite #2463
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK test et relecture.
Petite typo.
assets/controllers/back_signalement_delete_file/back_signalement_delete_file.js
Outdated
Show resolved
Hide resolved
c7e82e2
to
21e4c10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK !
3992253
to
cb7bc2a
Compare
|
document.querySelector('#fileDescription').value = target.getAttribute('data-description') | ||
document.querySelector('#fr-modal-edit-file-description').classList.remove('fr-hidden') | ||
} else { | ||
document.querySelector('#fr-modal-edit-file-description').classList.add('fr-hidden') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correction d'un bug détecté par Emilien sur une autre PR pour ne pas avoir des descriptions pour les documents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests et relecture OK
Ticket
#2445
#2448
Description
Ajout d'une modale pour valider la suppression d'un document ou d'une photo
Il faudrait ajouter la possibilité de supprimer des photos de visite, au cas où il y a des erreurs.
Changements apportés
Pré-requis
Tests