Updated code to new session/app/req/res object layout.

This commit is contained in:
hns 2002-05-31 14:14:37 +00:00
parent 0e9738e95d
commit 32d2230ef5
6 changed files with 36 additions and 37 deletions

View file

@ -12,12 +12,12 @@ if ( req.data.action=="reload" ) {
}
if ( req.data.action=="index" ) {
res.body = this.renderSkinAsString("index");
res.data.body = this.renderSkinAsString("index");
} else {
res.body = this.renderSkinAsString("main");
res.data.body = this.renderSkinAsString("main");
}
res.skin = "api";
res.title = "Application " + this.name;
res.data.title = "Application " + this.name;
renderSkin("api");