Fix for show Tabicons

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5935 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
svenson08
2014-05-22 18:34:21 +00:00
parent edb38366a6
commit e7cdc9c7d1

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);
}
}