projects
/
pithos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleaned up Edit menu
[pithos]
/
web_client
/
src
/
gr
/
grnet
/
pithos
/
web
/
client
/
commands
/
ToTrashCommand.java
diff --git
a/web_client/src/gr/grnet/pithos/web/client/commands/ToTrashCommand.java
b/web_client/src/gr/grnet/pithos/web/client/commands/ToTrashCommand.java
index
9050e3d
..
32946d9
100644
(file)
--- a/
web_client/src/gr/grnet/pithos/web/client/commands/ToTrashCommand.java
+++ b/
web_client/src/gr/grnet/pithos/web/client/commands/ToTrashCommand.java
@@
-77,7
+77,8
@@
public class ToTrashCommand implements Command{
@Override
public void execute() {
- containerPanel.hide();
+ if (containerPanel != null)
+ containerPanel.hide();
if (resource instanceof List) {
Iterator<File> iter = ((List<File>) resource).iterator();
trashFiles(iter, new Command() {