()
| 872 | } |
| 873 | } |
| 874 | function PageReady() { |
| 875 | var server = new Server("getServerConfig"); |
| 876 | server.request(new Object()); |
| 877 | // Render the menu immediately so UI is usable even before data arrives |
| 878 | try { |
| 879 | createLayout(); |
| 880 | } |
| 881 | catch (e) { |
| 882 | console.log("early createLayout error", e); |
| 883 | } |
| 884 | // Call updateLog immediately to get initial data and create menu |
| 885 | setTimeout(() => { |
| 886 | updateLog(); |
| 887 | }, 500); // Small delay to ensure WebSocket is ready |
| 888 | setInterval(function () { |
| 889 | updateLog(); |
| 890 | }, 10000); |
| 891 | return; |
| 892 | } |
| 893 | function createLayout() { |
| 894 | console.log("createLayout: Function called"); |
| 895 | console.log("createLayout: SERVER object:", SERVER); |
nothing calls this directly
no test coverage detected