From 4d6126a5e01b871bee59d5821052c2530e155f45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 12 Jan 2011 20:52:16 +0100 Subject: [PATCH] Set a name for the album. --- src/main/java/net/pterodactylus/sone/web/CreateAlbumPage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/web/CreateAlbumPage.java b/src/main/java/net/pterodactylus/sone/web/CreateAlbumPage.java index e0674c7..7e1062d 100644 --- a/src/main/java/net/pterodactylus/sone/web/CreateAlbumPage.java +++ b/src/main/java/net/pterodactylus/sone/web/CreateAlbumPage.java @@ -62,6 +62,7 @@ public class CreateAlbumPage extends SoneTemplatePage { String parentId = request.getHttpRequest().getPartAsStringFailsafe("parent", 36); Album parent = webInterface.getCore().getAlbum(parentId, false); Album album = webInterface.getCore().createAlbum(currentSone, parent); + album.setName(name); throw new RedirectException("imageBrowser.html?album=" + album.getId()); } } -- 2.7.4