View of first page (only folders) is working.
authorErik Brakkee <erik@brakkee.org>
Wed, 25 Sep 2013 19:42:21 +0000 (21:42 +0200)
committerErik Brakkee <erik@brakkee.org>
Wed, 25 Sep 2013 19:42:21 +0000 (21:42 +0200)
src/main/java/org/wamblee/photos/wicket/AlbumPanel.java

index c351180e68dbb178cd77b9bb12be435bfac53cc1..71ea87c1a1c0f2edb028f9efca06a570e8a2ddc6 100644 (file)
@@ -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));
         }
     }