mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge branch 'master' into dev
This commit is contained in:
commit
3c444d3fb3
@ -988,7 +988,11 @@ RED.nodes = (function() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
if (!isInitialLoad && unknownTypes.length > 0) {
|
if (!isInitialLoad && unknownTypes.length > 0) {
|
||||||
var typeList = "<ul><li>"+unknownTypes.join("</li><li>")+"</li></ul>";
|
var typeList = $("<ul>");
|
||||||
|
unknownTypes.forEach(function(t) {
|
||||||
|
$("<li>").text(t).appendTo(typeList);
|
||||||
|
})
|
||||||
|
typeList = typeList[0].outerHTML;
|
||||||
RED.notify("<p>"+RED._("clipboard.importUnrecognised",{count:unknownTypes.length})+"</p>"+typeList,"error",false,10000);
|
RED.notify("<p>"+RED._("clipboard.importUnrecognised",{count:unknownTypes.length})+"</p>"+typeList,"error",false,10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user