767 websocket.onerror = function(event) { |
767 websocket.onerror = function(event) { |
768 console.log('Websocket error: ' + event.data); |
768 console.log('Websocket error: ' + event.data); |
769 $('#wsstatus').html('WebSocket error: ' + event.data); |
769 $('#wsstatus').html('WebSocket error: ' + event.data); |
770 } |
770 } |
771 |
771 |
772 /* Handle global menu manipulation called by the user script. */ |
|
773 function ws_global(msg) { |
|
774 console.log('ws_global(' + msg + ')'); |
|
775 } |
|
776 |
|
777 |
|
778 $(document).ready(function() { |
772 $(document).ready(function() { |
779 |
773 |
780 $('#jqxMenu').jqxMenu({ |
774 $('#jqxMenu').jqxMenu({ |
781 width: 800, |
775 width: 800, |
782 height: '30px', |
776 height: '30px', |