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");