mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed uncaught exception that prevented notification from working on Files Tab
This commit is contained in:
parent
43e4a41792
commit
ba11903615
1 changed files with 1 additions and 1 deletions
|
@ -2662,7 +2662,7 @@ function onTunnelData(data) {
|
||||||
if (this.httprequest.consent && (this.httprequest.consent & 4)) {
|
if (this.httprequest.consent && (this.httprequest.consent & 4)) {
|
||||||
// User Notifications is required
|
// User Notifications is required
|
||||||
MeshServerLogEx(42, null, "Started remote files with toast notification (" + this.httprequest.remoteaddr + ")", this.httprequest);
|
MeshServerLogEx(42, null, "Started remote files with toast notification (" + this.httprequest.remoteaddr + ")", this.httprequest);
|
||||||
var notifyMessage = currentTranslation['fileNotify'].replace('{0}', this.ws.httprequest.realname);
|
var notifyMessage = currentTranslation['fileNotify'].replace('{0}', this.httprequest.realname);
|
||||||
var notifyTitle = "MeshCentral";
|
var notifyTitle = "MeshCentral";
|
||||||
if (this.httprequest.soptions != null) {
|
if (this.httprequest.soptions != null) {
|
||||||
if (this.httprequest.soptions.notifyTitle != null) { notifyTitle = this.httprequest.soptions.notifyTitle; }
|
if (this.httprequest.soptions.notifyTitle != null) { notifyTitle = this.httprequest.soptions.notifyTitle; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue