* Fixed skin name of poll editor

* Fixed condition for setting the site modification date on comment update (hopefully this is correct...)
 * Replace site.lastUpdate with site.modified (still needs some more care - what do we do with lastUpdate anyway?)
This commit is contained in:
Tobi Schäfer 2008-04-23 08:38:59 +00:00
parent b006cbdf0b
commit 0296ff4a88
6 changed files with 10 additions and 11 deletions

View file

@ -43,7 +43,7 @@ Polls.prototype.getPermission = function(action) {
Polls.prototype.main_action = function() {
var polls = User.getMembership().polls;
res.data.list = renderList(polls, "Poll#listItem", 10, req.queryParams.page);
res.data.list = renderList(polls, "$Poll#listItem", 10, req.queryParams.page);
res.data.pager = renderPager(polls, this.href(req.action),
10, req.queryParams.page);
res.data.title = gettext("Member polls of {0}", this._parent.title);
@ -69,7 +69,7 @@ Polls.prototype.create_action = function() {
}
res.data.action = this.href(req.action);
res.data.title = gettext("Add poll to site {0}", this._parent.title);
res.data.body = poll.renderSkinAsString("Poll#edit");
res.data.body = poll.renderSkinAsString("$Poll#edit");
this._parent.renderSkin("Site#page");
return;
}