1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix pop-out debug window for all the recent updates

This commit is contained in:
Nick O'Leary 2017-05-12 22:22:47 +01:00
parent c09bea4710
commit 835ad29417
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 26 additions and 23 deletions

View File

@ -1,4 +1,5 @@
$(function() { $(function() {
RED.i18n.init(function() {
var options = { var options = {
messageMouseEnter: function(sourceId) { messageMouseEnter: function(sourceId) {
window.opener.postMessage({event:"mouseEnter",id:sourceId},'*'); window.opener.postMessage({event:"mouseEnter",id:sourceId},'*');
@ -25,4 +26,5 @@ $(function() {
RED.debug.refreshMessageList(evt.data.activeWorkspace); RED.debug.refreshMessageList(evt.data.activeWorkspace);
} }
},false); },false);
})
}); });

View File

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<link href="../../vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="../../red/style.min.css"> <link rel="stylesheet" href="../../red/style.min.css">
<link rel="stylesheet" href="../../vendor/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="../../vendor/font-awesome/css/font-awesome.min.css">
<title>Node-RED Debug Tools</title> <title>Node-RED Debug Tools</title>
@ -7,7 +8,7 @@
<body class="debug-window"> <body class="debug-window">
</body> </body>
<script src="../../vendor/vendor.js"></script> <script src="../../vendor/vendor.js"></script>
<script src="../../red/red.js"></script> <script src="../../red/red.min.js"></script>
<script src="debug-utils.js"></script> <script src="debug-utils.js"></script>
<script src="debug.js"></script> <script src="debug.js"></script>
</html> </html>