mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
NLS type search
This commit is contained in:
parent
061cc908a7
commit
215c8fd261
@ -46,7 +46,7 @@ RED.typeSearch = (function() {
|
|||||||
//shade = $('<div>',{class:"red-ui-type-search-shade"}).appendTo("#main-container");
|
//shade = $('<div>',{class:"red-ui-type-search-shade"}).appendTo("#main-container");
|
||||||
dialog = $("<div>",{id:"red-ui-type-search",class:"red-ui-search red-ui-type-search"}).appendTo("#main-container");
|
dialog = $("<div>",{id:"red-ui-type-search",class:"red-ui-search red-ui-type-search"}).appendTo("#main-container");
|
||||||
var searchDiv = $("<div>",{class:"red-ui-search-container"}).appendTo(dialog);
|
var searchDiv = $("<div>",{class:"red-ui-search-container"}).appendTo(dialog);
|
||||||
searchInput = $('<input type="text" placeholder="add a node...">').appendTo(searchDiv).searchBox({
|
searchInput = $('<input type="text">').attr("placeholder",RED._("search.addNode")).appendTo(searchDiv).searchBox({
|
||||||
delay: 50,
|
delay: 50,
|
||||||
change: function() {
|
change: function() {
|
||||||
search($(this).val());
|
search($(this).val());
|
||||||
|
@ -325,7 +325,8 @@
|
|||||||
"add": "add"
|
"add": "add"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"empty": "No matches found"
|
"empty": "No matches found",
|
||||||
|
"addNode": "add a node..."
|
||||||
},
|
},
|
||||||
"expressionEditor": {
|
"expressionEditor": {
|
||||||
"functions": "Functions",
|
"functions": "Functions",
|
||||||
|
Loading…
Reference in New Issue
Block a user