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();