diff --git a/DocApplication/actions.js b/DocApplication/actions.js index 27df09dd..c80a63ff 100644 --- a/DocApplication/actions.js +++ b/DocApplication/actions.js @@ -1,27 +1,47 @@ function main_action () { + if (checkAddress()==false) + return; + if (checkAuth(this.getParentElement ())==false) + return; this.renderSkin ("frameset"); } function prototypes_action () { + if (checkAddress()==false) + return; + if (checkAuth(this.getParentElement ())==false) + return; res.data.body = this.renderSkinAsString ("prototypes"); renderSkin ("api"); } function summary_action () { + if (checkAddress()==false) + return; + if (checkAuth(this.getParentElement ())==false) + return; res.data.body = this.renderSkinAsString ("summary"); renderSkin ("api"); } function functionindex_action () { + if (checkAddress()==false) + return; + if (checkAuth(this.getParentElement ())==false) + return; res.data.body = this.renderSkinAsString ("functionindex"); renderSkin ("api"); } function render_action () { + if (checkAddress()==false) + return; + if (checkAuth(this.getParentElement ())==false) + return; res.writeln("