Add popover tooltips to debug sidebar,function and template

path, value, pin buttons in debug
expand buttons in function and template.
This commit is contained in:
Dave Conway-Jones
2019-05-27 15:48:06 +01:00
parent c514d988df
commit dc0b9231cd
4 changed files with 12 additions and 2 deletions

View File

@@ -80,6 +80,8 @@
});
this.editor.focus();
RED.popover.tooltip($("#node-function-expand-js"), RED._("node-red:common.label.expand"));
$("#node-function-expand-js").on("click", function(e) {
e.preventDefault();
var value = that.editor.getValue();

View File

@@ -110,6 +110,7 @@
v: Date.now()
});
});
RED.popover.tooltip($("#node-template-expand-editor"), RED._("node-red:common.label.expand"));
$("#node-template-expand-editor").on("click", function(e) {
e.preventDefault();
var value = that.editor.getValue();

View File

@@ -7,7 +7,8 @@
"username": "Username",
"password": "Password",
"property": "Property",
"selectNodes": "Select nodes..."
"selectNodes": "Select nodes...",
"expand": "Expand"
},
"status": {
"connected": "connected",
@@ -137,7 +138,10 @@
"debugNodes": "Debug nodes",
"clearLog": "Clear log",
"filterLog": "Filter log",
"openWindow": "Open in new window"
"openWindow": "Open in new window",
"copyPath": "copy Path",
"copyPayload": "copy Value",
"pinPath": "pin open"
},
"messageMenu": {
"collapseAll": "Collapse all paths",