projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove obsolete loading animation
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
ImageBrowserPage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java
b/src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java
index
60b22d5
..
7a222d2
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java
@@
-1,5
+1,5
@@
/*
/*
- * Sone - ImageBrowserPage.java - Copyright © 2011–201
3
David Roden
+ * Sone - ImageBrowserPage.java - Copyright © 2011–201
6
David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-65,8
+65,7
@@
public class ImageBrowserPage extends SoneTemplatePage {
* {@inheritDoc}
*/
@Override
* {@inheritDoc}
*/
@Override
- protected void processTemplate(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
- super.processTemplate(request, templateContext);
+ protected void handleRequest(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
String albumId = request.getHttpRequest().getParam("album", null);
if (albumId != null) {
Album album = webInterface.getCore().getAlbum(albumId);
String albumId = request.getHttpRequest().getParam("album", null);
if (albumId != null) {
Album album = webInterface.getCore().getAlbum(albumId);
@@
-102,7
+101,7
@@
public class ImageBrowserPage extends SoneTemplatePage {
templateContext.set("albums", albumPagination.getItems());
return;
}
templateContext.set("albums", albumPagination.getItems());
return;
}
- Sone sone = getCurrentSone
(request.getToadletContext(), false
);
+ Sone sone = getCurrentSone
WithoutCreatingSession(request.getToadletContext()
);
templateContext.set("soneRequested", true);
templateContext.set("sone", sone);
}
templateContext.set("soneRequested", true);
templateContext.set("sone", sone);
}