|
|
@ -125,13 +125,7 @@ class CellsyntMobileServices extends NotificationProvider {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (heartbeatJSON != null) {
|
|
|
|
if (heartbeatJSON != null) {
|
|
|
|
var d = new Date(heartbeatJSON["time"]),
|
|
|
|
msg = msg;
|
|
|
|
dformat = [d.getMonth()+1,
|
|
|
|
|
|
|
|
d.getDate(),
|
|
|
|
|
|
|
|
d.getFullYear()].join('/')+' '+
|
|
|
|
|
|
|
|
[d.getHours(),
|
|
|
|
|
|
|
|
d.getMinutes()].join(':');
|
|
|
|
|
|
|
|
msg = dformat+" - "+msg;
|
|
|
|
|
|
|
|
data.params.text = msg.replace(/[^\x00-\x7F]/g, "");
|
|
|
|
data.params.text = msg.replace(/[^\x00-\x7F]/g, "");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|