was that getParentElement() method in Application always returned null (due to a very hard to find bug in helma.main.Server).
22 lines
351 B
JavaScript
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;
|
|
}
|
|
|
|
|