Commit eef2d4c3 authored by Tom Kunze's avatar Tom Kunze
Browse files

server/cipmap-ui: Strip 'cip' from the new hostname format.

parent 30537fb5
......@@ -950,7 +950,7 @@ function drawMap(cip) {
$(d).css({"display": "none", "top": top_pos, "left": left_pos}).
addClass("kiste card").
attr("id", curMap[i].id).
html("<h5 style=\"margin: 5px\">"+curMap[i].id.replace("faui", "")+"</h5><div class=\"innerText\"></div>")
html("<h5 style=\"margin: 5px\">"+curMap[i].id.replace("faui", "").replace("cip", "")+"</h5><div class=\"innerText\"></div>")
);
if(left_pos > mapWidth)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment