/download_action
download action

Sourcecode in Layout/actions.js:
1:   function download_action() {
2:      if (req.data.cancel)
3:         res.redirect(this._parent.href());
4:      else if (req.data.full)
5:         res.redirect(this.href("download_full.zip"));
6:      else if (req.data.changesonly)
7:         res.redirect(this.href("download.zip"));
8:      
9:      res.data.action = this.href(req.action);
10:     res.data.title = getMessage("Layout.downloadTitle", {layoutTitle: this.title});
11:     res.data.body = this.renderSkinAsString("download");
12:     res.handlers.context.renderSkin("page");
13:     return;
14:  }