helma/Application/functions.js

29 lines
442 B
JavaScript
Raw Normal View History

/**
* construct an application object so that we can use
* skins for non-active applications too
* @arg name
*/
function constructor(name) {
this.name = name;
}
2002-09-23 12:22:13 +00:00
/**
* of no use, just to avoid error message
*/
function onRequest() {
2002-09-23 12:22:13 +00:00
}
/**
* return true/false to determine if application is running
*/
function isActive() {
if (root.getApplication(this.name) == null)
return false;
else
return true;
}