helma/apps/manage/DocFunction/functions.js
2012-03-27 11:47:36 +02:00

10 lines
214 B
JavaScript

/**
* Method used by Helma for URL composition.
*/
function href(action) {
var base = this.getParentElement().href()
+ this.getElementName() + "/";
return action ? base + action : base;
}