1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 16:06:15 +00:00

Use idxVal instead of id, because slashes mustn't be shown

This commit is contained in:
Loic Blot 2014-10-23 12:23:13 +00:00
parent 6d26edb727
commit a3830404c3

View File

@ -76,7 +76,7 @@ var checkNewMessages = function() {
idxVal2 = idxVal.replace('/ /g','');
if (typeof jsondata['contacts'][id] == 'undefined') {
fn = '';
peerLabel = id;
peerLabel = idxVal;
}
else {
fn = jsondata['contacts'][id];
@ -252,7 +252,7 @@ function fetchInitialPeerList(jsondata) {
idxVal2 = idxVal.replace('/ /g','');
if (typeof jsondata['contacts'][id] == 'undefined') {
fn = '';
peerLabel = id;
peerLabel = idxVal;
}
else {
fn = jsondata['contacts'][id];