From: Erik Brakkee Date: Wed, 25 Sep 2013 19:42:21 +0000 (+0200) Subject: View of first page (only folders) is working. X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=ef7b3a22a3084312fe10a973b740f3ff35601870;p=photos View of first page (only folders) is working. --- diff --git a/src/main/java/org/wamblee/photos/wicket/AlbumPanel.java b/src/main/java/org/wamblee/photos/wicket/AlbumPanel.java index c351180..71ea87c 100644 --- a/src/main/java/org/wamblee/photos/wicket/AlbumPanel.java +++ b/src/main/java/org/wamblee/photos/wicket/AlbumPanel.java @@ -245,13 +245,9 @@ public class AlbumPanel extends Panel { add(row); // upload panel - if (path.equals("/")) - - { + if (path.equals("/")) { add(new WebMarkupContainer("uploadPanel")); - } else - - { + } else { add(new UploadPanel("uploadPanel", path)); } }