This commit was generated by cvs2svn to compensate for changes in r2155,
which included commits to RCS files with non-trunk default branches.
This commit is contained in:
parent
72d15e11ab
commit
4a7616d5a0
51 changed files with 1885 additions and 0 deletions
14
DocApplication/functions.js
Normal file
14
DocApplication/functions.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* overrides the internal href-function, as
|
||||
* helma.framework.core.Application.getNodeHref(Object,String)
|
||||
* isn't able to compute correct urls for non-node objects.
|
||||
* @arg action of application
|
||||
*/
|
||||
function href(action) {
|
||||
var url = getProperty("baseURI");
|
||||
url = (url==null || url=="null") ? "" : url;
|
||||
url += this.name + "/api/" + ( (action!=null && action!="") ? action : "main" );
|
||||
return url;
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue