* display mailboxes on zone map
This commit is contained in:
Sarjuuk
2021-07-20 11:54:38 +02:00
parent 5781dfb69e
commit ea25776225
8 changed files with 32 additions and 13 deletions

View File

@@ -107,8 +107,10 @@ ShowOnMap.prototype.construct = function() {
}
if (nCoords > 0) {
var url = (g_types[group[p][0].type] && group[p][0].id ? '?' + g_types[group[p][0].type] + '=' + group[p][0].id : '');
legend[submenu.length+1] = [p, url];
entry.push(p + $WH.sprintf(LANG.qty, nPins));
// legend[submenu.length+1] = [p, url]; aowow - switch to numeric groupIdx to support mail
// entry.push(p + $WH.sprintf(LANG.qty, nPins));
legend[submenu.length+1] = [group[p][0].name, url];
entry.push(group[p][0].name + $WH.sprintf(LANG.qty, nPins));
entry.push(this.showStuff.bind(this, coords, [i, i2], legend));
submenu.push(entry);
for (var l in coords) {