Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are no parameters or return value.

ExampleExamples:

Code Block
javascript
javascript
Atrium.refreshNavPanel();


Code Block
languagejs
titleRefresh Navigation Panel Periodically
setInterval(function(){ Atrium.api.refreshNavPanel(); }, (20 * 60 * 1000)); //Refresh the Navigation panel every 20 minutes



Where do you store custom JavaScript for Atrium? In a script in your /www/<installation-name>/htdocs/profoundui/userdata/extension/atrium/ folder. For example, if your installation is named "profoundui", then you can define the function in /www/profoundui/htdocs/profoundui/userdata/extension/atrium/custom.js