diff --git a/MeshCentralServer.njsproj b/MeshCentralServer.njsproj index 50238aed..0a6645fb 100644 --- a/MeshCentralServer.njsproj +++ b/MeshCentralServer.njsproj @@ -553,7 +553,6 @@ - diff --git a/package.json b/package.json index d65384b6..4fe828da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.7.96", + "version": "0.7.97", "keywords": [ "Remote Device Management", "Remote Device Monitoring", diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index 5a476ee4..e45ecfad 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -707,7 +707,7 @@ - +
@@ -3422,9 +3422,10 @@ function showNotes(readonly, noteid) { if (xxdialogMode) return; + if (noteid == null) { noteid = encodeURIComponentEx('p' + userinfo._id); } var x = ''; if (noteid.startsWith('node%2F%2F')) { x += '' + "Device group notes can be viewed and changed by other device group administrators." + ''; } - setDialogMode(2, "Notes", 2, showNotesEx, x, noteid); + setDialogMode(2, "Notes", 3, showNotesEx, x, noteid); meshserver.send({ action: 'getNotes', id: decodeURIComponent(noteid) }); } diff --git a/views/default.handlebars b/views/default.handlebars index 01f8201e..ee9d9f3e 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -154,7 +154,7 @@
-
+
@@ -6476,9 +6476,10 @@ function showNotes(readonly, noteid) { if (xxdialogMode) return; + if (noteid == null) { noteid = encodeURIComponentEx('p'+userinfo._id); } var x = ''; if (noteid.startsWith('node%2F%2F')) { x += '' + "Device group notes can be viewed and changed by other device group administrators." + ''; } - setDialogMode(2, "Notes", 2, showNotesEx, x, noteid); + setDialogMode(2, "Notes", 3, showNotesEx, x, noteid); meshserver.send({ action: 'getNotes', id: decodeURIComponent(noteid) }); }