- renamed parentimages_action to parent_action
- preview.skin of image was renamed to mgrlistitem.skin
This commit is contained in:
parent
20f381a9b1
commit
237c5b61cb
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
/**
|
||||
* display the images of the parent layout
|
||||
*/
|
||||
function parentimages_action() {
|
||||
function parent_action() {
|
||||
if (!this._parent.parent) {
|
||||
res.message = new Exception("layoutNoParent");
|
||||
res.redirect(this.href());
|
||||
}
|
||||
res.data.imagelist = renderList(this._parent.parent.images, "preview", 10, req.data.page);
|
||||
res.data.imagelist = renderList(this._parent.parent.images, "mgrlistitem", 10, req.data.page);
|
||||
res.data.pagenavigation = renderPageNavigation(this._parent.parent.images, this.href(req.action), 10, req.data.page);
|
||||
res.data.title = "Images of layout '" + this._parent.parent.title + "'";
|
||||
res.data.body = this.renderSkinAsString("main");
|
||||
|
|
Loading…
Add table
Reference in a new issue