2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 10:46:53 +00:00

Fix for show Tabicons

git-svn-id: https://svn.fhem.de/fhem/trunk@5935 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
svenson08 2014-05-22 18:34:21 +00:00
parent 4a315d7d0c
commit 5f451e315b

View File

@ -50,6 +50,7 @@ function dashboard_loadsvgIcon(svgIcon, svgColor, destObj) { //search Icon in ev
if (groupdata[i] != "") {
if (!svgIcon.match('.svg')) {svgIcon = svgIcon+'.svg';}
groupdata[i] = groupdata[i].replace('.','');
groupdata[i] = groupdata[i].replace('/opt/fhem','');
dashboard_showsvgIcon(document.location.pathname+groupdata[i]+"/"+svgIcon, svgColor, destObj);
}
}