branch feature/redimensionnement created (now c39b2109)
This is an automated email from the git hooks/post-receive script. New change to branch feature/redimensionnement in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git at c39b2109 fixes #9791 : Changement des largeurs de colonnes ne sont pas mémorisées. This branch includes the following new commits: new 1bb5d962 Add comment and clean code new c39b2109 fixes #9791 : Changement des largeurs de colonnes ne sont pas mémorisées. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit c39b2109b44486c752304a1a54f0ca4c1a940a96 Author: jcouteau <couteau@codelutin.com> Date: Wed Jun 27 16:27:43 2018 +0200 fixes #9791 : Changement des largeurs de colonnes ne sont pas mémorisées. commit 1bb5d9626e779438b66a7852d6a822e9e7236a81 Author: jcouteau <couteau@codelutin.com> Date: Wed Jun 27 10:37:30 2018 +0200 Add comment and clean code -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/redimensionnement in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit 1bb5d9626e779438b66a7852d6a822e9e7236a81 Author: jcouteau <couteau@codelutin.com> Date: Wed Jun 27 10:37:30 2018 +0200 Add comment and clean code --- .../franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java index b97c51f0..66333742 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java @@ -92,6 +92,8 @@ public class ShowDemandeAction extends AbstractMainUIFaxToMailAction { // si le mail est pris par quelqu'un d'autre, le prend-on ou pas ? if (currentEmail.isEditable() && takenBy != null && !currentUser.equals(takenBy)) { MailFolder folderWithMustTakeToEditDemand = email.getMailFolder(); + + //Récupération de la configuration sur l'obligation de prendre le document pour éditer while (folderWithMustTakeToEditDemand.getParent() != null && folderWithMustTakeToEditDemand.getMustTakeToEditDemand() == null) { folderWithMustTakeToEditDemand = folderWithMustTakeToEditDemand.getParent(); @@ -178,9 +180,8 @@ public class ShowDemandeAction extends AbstractMainUIFaxToMailAction { DemandeUIModel currentEmail = getContext().getCurrentEmail(); - FaxToMailServiceContext serviceContext = getContext().newServiceContext(); - if (StringUtils.isNotBlank(currentEmail.getTopiaId())) { + FaxToMailServiceContext serviceContext = getContext().newServiceContext(); Email email = serviceContext.getEmailService().openEmail(currentEmail.getTopiaId(), getContext().getCurrentUser(), -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/redimensionnement in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit c39b2109b44486c752304a1a54f0ca4c1a940a96 Author: jcouteau <couteau@codelutin.com> Date: Wed Jun 27 16:27:43 2018 +0200 fixes #9791 : Changement des largeurs de colonnes ne sont pas mémorisées. --- .../ui/swing/content/demande/DemandeListUIHandler.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeListUIHandler.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeListUIHandler.java index 48e8d5e0..dcb1f8e8 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeListUIHandler.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeListUIHandler.java @@ -255,6 +255,19 @@ public class DemandeListUIHandler extends AbstractFaxToMailDemandListHandler<Dem } }); + //Need to stop timer when manipulating headers in order to prevent #9791 + dataTable.getTableHeader().addMouseListener(new MouseAdapter(){ + @Override + public void mousePressed(MouseEvent me) { + refreshListTimer.stop(); + } + + @Override + public void mouseReleased(MouseEvent me) { + refreshListTimer.start(); + } + }); + dataTable.getSelectionModel().addListSelectionListener(new ListSelectionListener() { @Override -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm