* Added some missing and fixed some incorrect res.data.title properties

* Moved code removing the current layout *after* the one backing it up
This commit is contained in:
Tobi Schäfer 2009-10-27 22:58:07 +00:00
parent b34390b9a9
commit 323254321d
4 changed files with 12 additions and 9 deletions

View file

@ -59,6 +59,7 @@ Archive.prototype.getPermission = function(action) {
}
Archive.prototype.main_action = function() {
res.data.title = "Archive of " + res.handlers.site.getTitle();
res.data.body = this.renderSkinAsString("Archive#main");
res.handlers.site.renderSkin("Site#page");
res.handlers.site.log();