helma/Application/functions.js
hns c8be51599b Calling href() on Java objects does indeed work. The problem
was that getParentElement() method in Application always returned
null (due to a very hard to find bug in helma.main.Server).
2002-03-19 19:33:49 +00:00

22 lines
351 B
JavaScript

/**
* construct an application object so that we can use
* skins for non-active applications too
* @arg name
*/
function constructor(name) {
this.name = name;
}
/**
* return true/false to determine if application is running
*/
function isActive() {
if ( root.getApplication(this.name)==null )
return false;
else
return true;
}