Rev 2196 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2196 | Rev 2197 | ||
|---|---|---|---|
| Line 6... | Line 6... | ||
| 6 | pageInstance.pageInfoElements = {}; |
6 | pageInstance.pageInfoElements = {}; |
| 7 | 7 | ||
| 8 | this.pageshow = function(arg) { |
8 | this.pageshow = function(arg) { |
| 9 | /* Request the initial value from the server */ |
9 | /* Request the initial value from the server */ |
| 10 | requestServerData(); |
10 | requestServerData(); |
| - | 11 | ||
| 11 | /* Set timer for continious polling of the current values */ |
12 | /* Set timer for continious polling of the current values */ |
| 12 | pageInstance.pollTimer = setInterval(requestServerData, 2000); |
13 | pageInstance.pollTimer = setInterval(requestServerData, 2000); |
| 13 | } |
14 | } |
| 14 | 15 | ||
| 15 | this.pagehide = function(arg) { |
16 | this.pagehide = function(arg) { |