You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/02/24 15:17:36 UTC
[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1777] file
delete is fixed
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/4.0.x by this push:
new c6edbf9 [OPENMEETINGS-1777] file delete is fixed
c6edbf9 is described below
commit c6edbf9c0f70cb4b5d6b111aaa2313480ada41f8
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sat Feb 24 22:17:24 2018 +0700
[OPENMEETINGS-1777] file delete is fixed
---
.../java/org/apache/openmeetings/web/common/tree/FileTreePanel.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/tree/FileTreePanel.java b/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/tree/FileTreePanel.java
index 78282b2..c0da9a5 100644
--- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/tree/FileTreePanel.java
+++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/tree/FileTreePanel.java
@@ -341,7 +341,7 @@ public abstract class FileTreePanel extends Panel {
}
void updateNode(AjaxRequestTarget target, BaseFileItem fi) {
- if (fi != null && target != null) {
+ if (fi != null && !fi.isDeleted() && target != null) {
if (Type.Folder == fi.getType()) {
tree.updateBranch(fi, target);
} else {
--
To stop receiving notification emails like this one, please contact
solomax@apache.org.