- String title = request.getHttpRequest().getPartAsStringFailsafe("title", 100).trim();
- if (title.length() == 0) {
- templateContext.set("titleMissing", true);
- return;
+ if ("true".equals(request.getHttpRequest().getPartAsStringFailsafe("moveLeft", 4))) {
+ album.getParent().moveAlbumUp(album);
+ webInterface.getCore().touchConfiguration();
+ throw new RedirectException("imageBrowser.html?album=" + album.getParent().getId());
+ } else if ("true".equals(request.getHttpRequest().getPartAsStringFailsafe("moveRight", 4))) {
+ album.getParent().moveAlbumDown(album);
+ webInterface.getCore().touchConfiguration();
+ throw new RedirectException("imageBrowser.html?album=" + album.getParent().getId());