Rev 2105 | Rev 2133 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2105 | Rev 2111 | ||
|---|---|---|---|
| Line 135... | Line 135... | ||
| 135 | 135 | ||
| 136 | $(document).ready(function(event) |
136 | $(document).ready(function(event) |
| 137 | { |
137 | { |
| 138 | document.location.hash = ""; |
138 | document.location.hash = ""; |
| 139 | 139 | ||
| 140 | sendCommand(" |
140 | sendCommand("(new Date()).getTime();", function(timestamp) |
| 141 | { |
141 | { |
| 142 | serverTimeOffset = ((new Date()).getTime()) - |
142 | serverTimeOffset = ((new Date()).getTime()) - parseInt(timestamp, 10); |
| 143 | }); |
143 | }); |
| 144 | 144 | ||
| 145 | jQuery.each(pageConfigurations, function(n, configuration) |
145 | jQuery.each(pageConfigurations, function(n, configuration) |
| 146 | { |
146 | { |
| 147 | var pageName = configuration.page + "_" + n; |
147 | var pageName = configuration.page + "_" + n; |