delay start of ui widget to try to let dashboard register first
This commit is contained in:
parent
3345189d32
commit
3a17b73ade
@ -1,5 +1,6 @@
|
||||
### Change Log for Node-RED Worldmap
|
||||
|
||||
- v2.8.7 - Delay start of ui widget.
|
||||
- v2.8.6 - Better checking of type property before guessing it's geojson. Issue #153
|
||||
- v2.8.4 - Add addToForm(n,v) option and $form - to make contextmenu form submission easier.
|
||||
- v2.8.3 - Let feedback include lat lon for context menu on general map.
|
||||
|
@ -11,6 +11,7 @@ map web page for plotting "things" on.
|
||||
|
||||
### Updates
|
||||
|
||||
- v2.8.7 - Delay start of ui widget.
|
||||
- v2.8.6 - Better checking of type property before guessing it's geojson. Issue #153
|
||||
- v2.8.4 - Add addToForm(n,v) option and $form - to make contextmenu form submission easier.
|
||||
- v2.8.3 - Let feedback include lat lon for context menu on general map.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-contrib-web-worldmap",
|
||||
"version": "2.8.6",
|
||||
"version": "2.8.7",
|
||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||
"dependencies": {
|
||||
"cgi": "0.3.1",
|
||||
|
@ -158,6 +158,7 @@ module.exports = function(RED) {
|
||||
}
|
||||
|
||||
var ui = undefined;
|
||||
setTimeout( function() {
|
||||
try {
|
||||
ui = RED.require("node-red-dashboard")(RED);
|
||||
if (ui) {
|
||||
@ -206,6 +207,7 @@ module.exports = function(RED) {
|
||||
catch(e) {
|
||||
RED.log.info("Node-RED Dashboard not found - ui_worldmap not installed.");
|
||||
}
|
||||
}, 250);
|
||||
|
||||
var WorldMapIn = function(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
|
Loading…
Reference in New Issue
Block a user