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:18:09 UTC
[openmeetings] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new 00126bc [OPENMEETINGS-1777] file delete is fixed
00126bc is described below
commit 00126bc6d331229348a8913ec57446f3b9969298
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.