renamed global function setLayout() to getParent()
changed code to run with snapshot 20020531-fc - no more res.skin, using renderSkin instead
This commit is contained in:
parent
5bf34cfcea
commit
d028679b88
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
var parent = setLayout();
|
||||
var parent = getParent();
|
||||
|
||||
if (req.data.submit == "cancel" || req.data.cancel)
|
||||
res.redirect(parent.href());
|
||||
|
@ -15,3 +15,4 @@ res.data.title = path.weblog ? path.weblog.title : "Antville";
|
|||
|
||||
res.data.body = this.renderSkinAsString("sendpwd");
|
||||
|
||||
parent.renderSkin("page");
|
Loading…
Add table
Reference in a new issue