\ No newline at end of file
diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars
index 552f7f87..45461ff8 100644
--- a/views/default-mobile.handlebars
+++ b/views/default-mobile.handlebars
@@ -888,7 +888,10 @@
meshserver.send({ action: 'nodes' }); // Request a refresh of all nodes (TODO: We could optimize this to only request nodes for the new mesh).
} else {
// This is an existing mesh
- meshes[message.event.meshid].name = message.event.name;
+ if (meshes[message.event.meshid].name != message.event.name) {
+ meshes[message.event.meshid].name = message.event.name;
+ for (var i in nodes) { if (nodes[i].meshid == message.event.meshid) { nodes[i].meshnamel = message.event.name.toLowerCase(); } }
+ }
meshes[message.event.meshid].desc = message.event.desc;
meshes[message.event.meshid].links = message.event.links;
diff --git a/views/default.handlebars b/views/default.handlebars
index c84e196c..f25fbe28 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -1988,7 +1988,10 @@
meshserver.send({ action: 'nodes' }); // Request a refresh of all nodes (TODO: We could optimize this to only request nodes for the new mesh).
} else {
// This is an existing mesh
- if (message.event.name != null) { meshes[message.event.meshid].name = message.event.name; }
+ if (message.event.name != null) {
+ meshes[message.event.meshid].name = message.event.name;
+ for (var i in nodes) { if (nodes[i].meshid == message.event.meshid) { nodes[i].meshnamel = message.event.name.toLowerCase(); } }
+ }
if (message.event.desc != null) { meshes[message.event.meshid].desc = message.event.desc; }
if (message.event.flags != null) { meshes[message.event.meshid].flags = message.event.flags; }
if (message.event.consent != null) { meshes[message.event.meshid].consent = message.event.consent; }