helma/apps/manage/DocFunction/functions.js

11 lines
214 B
JavaScript
Raw Normal View History

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