Revision 0588e31a
Added by Steve Beaver about 8 years ago
src/usr/local/www/widgets/widgets/gateways.widget.php | ||
---|---|---|
334 | 334 |
//<![CDATA[ |
335 | 335 |
|
336 | 336 |
events.push(function(){ |
337 |
// --------------------- EXPERIMENTAL centralized widget refresh system ------------------------------
|
|
337 |
// --------------------- Centralized widget refresh system ------------------------------
|
|
338 | 338 |
|
339 | 339 |
// Callback function called by refresh system when data is retrieved |
340 | 340 |
function gateways_callback(s) { |
src/usr/local/www/widgets/widgets/interface_statistics.widget.php | ||
---|---|---|
221 | 221 |
} |
222 | 222 |
*/ |
223 | 223 |
events.push(function() { |
224 |
// --------------------- EXPERIMENTAL centralized widget refresh system ------------------------------
|
|
224 |
// --------------------- Centralized widget refresh system ------------------------------
|
|
225 | 225 |
|
226 | 226 |
// Callback function called by refresh system when data is retrieved |
227 | 227 |
function interface_statistics_callback(s) { |
src/usr/local/www/widgets/widgets/interfaces.widget.php | ||
---|---|---|
231 | 231 |
//<![CDATA[ |
232 | 232 |
events.push(function(){ |
233 | 233 |
|
234 |
// --------------------- EXPERIMENTAL centralized widget refresh system ------------------------------
|
|
234 |
// --------------------- Centralized widget refresh system ------------------------------
|
|
235 | 235 |
|
236 | 236 |
// Callback function called by refresh system when data is retrieved |
237 | 237 |
function interfaces_callback(s) { |
src/usr/local/www/widgets/widgets/ipsec.widget.php | ||
---|---|---|
327 | 327 |
|
328 | 328 |
events.push(function(){ |
329 | 329 |
|
330 |
// --------------------- EXPERIMENTAL centralized widget refresh system ------------------------------
|
|
330 |
// --------------------- Centralized widget refresh system ------------------------------
|
|
331 | 331 |
|
332 | 332 |
// Callback function called by refresh system when data is retrieved |
333 | 333 |
function ipsec_callback(s) { |
src/usr/local/www/widgets/widgets/ntp_status.widget.php | ||
---|---|---|
260 | 260 |
<script type="text/javascript"> |
261 | 261 |
//<![CDATA[ |
262 | 262 |
events.push(function(){ |
263 |
// --------------------- EXPERIMENTAL centralized widget refresh system ------------------------------
|
|
263 |
// --------------------- Centralized widget refresh system ------------------------------
|
|
264 | 264 |
|
265 | 265 |
// Callback function called by refresh system when data is retrieved |
266 | 266 |
function ntp_callback(s) { |
src/usr/local/www/widgets/widgets/openvpn.widget.php | ||
---|---|---|
366 | 366 |
|
367 | 367 |
events.push(function(){ |
368 | 368 |
set_widget_checkbox_events("#widget-<?=$widgetname?>_panel-footer [id^=show]", "showallovpns"); |
369 |
// --------------------- EXPERIMENTAL centralized widget refresh system ------------------------------ |
|
369 |
|
|
370 |
// --------------------- Centralized widget refresh system ------------------------------ |
|
370 | 371 |
|
371 | 372 |
// Callback function called by refresh system when data is retrieved |
372 | 373 |
function openvpn_callback(s) { |
Also available in: Unified diff
No longer experimental so comment removed
(cherry picked from commit 2ef62d38adee7126141c1b54489cd191f59adc54)