www/js/mon_node.js

changeset 573
c4c891d5c4f8
parent 572
7a03181d29a3
child 578
e75ce5bbda73
--- a/www/js/mon_node.js	Sun Dec 15 15:08:09 2019 +0100
+++ b/www/js/mon_node.js	Sun Dec 15 16:49:29 2019 +0100
@@ -54,8 +54,8 @@
  },
  dataAdapter = new $.jqx.dataAdapter(source, {
   loadComplete: function(records) {
-   var oline = (record.online) ? 'On-line' : 'Off-line';
    var record = dataAdapter.records[0],
+   oline = (record.online) ? 'On-line' : 'Off-line',
    html = '<div id="node_table">';
    html += '<table style="width: 100%; padding: 10px;">';
    html += '<tr><th colspan=2>Systeem overzicht</th></tr>';

mercurial