From 08d3a944295a5406405c6598d08015502201e0d8 Mon Sep 17 00:00:00 2001 From: stefanp Date: Tue, 6 Jan 2004 15:47:22 +0000 Subject: [PATCH] moved the actual rendering part in render_action into functions.js --- DocApplication/actions.js | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/DocApplication/actions.js b/DocApplication/actions.js index f071ac99..573947a5 100644 --- a/DocApplication/actions.js +++ b/DocApplication/actions.js @@ -46,29 +46,13 @@ function render_action () { // set res.data.rendering, this will suppress the link back to the manage // console in the apidocs actions res.data.rendering = true; - if (checkAddress()==false) - return; - if (checkAuth(this.getParentElement ())==false) - return; - var prefix = this.href (""); - this.storePage (this, "main", "", "index.html"); - this.storePage (this, "prototypes"); - this.storePage (this, "summary"); - this.storePage (this, "functionindex"); - var ct = 4; - var arr = this.listChildren (); - for (var i=0; i
'; - res.data.body += 'back to manage console'; + if (checkAddress()==false) + return; + if (checkAuth(this.getParentElement ())==false) + return; + var ct = this.renderApi(); + res.data.body = 'rendering API ...
wrote ' + ct + ' files

'; + res.data.body += 'back to manage console'; res.data.title = "rendering helma api"; res.data.head = renderSkinAsString("head"); renderSkin ("basic");