ensure feedback value is passed back

to close #212
This commit is contained in:
Dave Conway-Jones 2022-11-23 09:42:03 +00:00
parent ed728eb4db
commit 7b772d4e6c
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
### Change Log for Node-RED Worldmap
- v2.31.1 - Fix missing type property for drawings. Issue #213
- v2.31.1 - Fix missing type property for drawings, and pass back feedback value. Issue #213, Issue #212
- v2.31.0 - Better handling of KML files. Issue #211
- v2.30.3 - Fix for iframe height. Issue #210

View File

@ -11,7 +11,7 @@ map web page for plotting "things" on.
### Updates
- v2.31.1 - Fix missing type property for drawings. Issue #213
- v2.31.1 - Fix missing type property for drawings, and pass back feedback value. Issue #213, Issue #212
- v2.31.0 - Better handling of KML files. Issue #211
- v2.30.3 - Fix for iframe height. Issue #210
- v2.30.2 - Fix for bad handling of mapbox id. Issue #208
@ -25,7 +25,6 @@ map web page for plotting "things" on.
- v2.27.1 - Reload existing markers for late joiners
- v2.26.1 - Add QTH/Maidenhead option also
- v2.26.0 - Add UTM and MGRS to coordinate display options.
- v2.25.0 - Add bounds command to set overall map bounds.
- see [CHANGELOG](https://github.com/dceejay/RedMap/blob/master/CHANGELOG.md) for full list of changes.

View File

@ -727,6 +727,7 @@ var feedback = function(n,v,a,c) {
// ws.send(JSON.stringify({action:a||"feedback", name:n, value:v, layer:markers[n].lay, lat:fp.lat, lon:fp.lng}));
var fb = allData[n];
fb.action = a || "feedback";
if (v !== undefined) { fb.value = v; }
ws.send(JSON.stringify(fb));
}
else {