FCLT#54957 Bugfix; cust.css en mcust.css mag gewoon nog (deze waren ook weggehaald)

svn path=/Website/branches/v2019.1/; revision=41671
This commit is contained in:
2019-03-19 13:21:58 +00:00
parent 910e9c0533
commit 97efd1a90f

View File

@@ -1742,7 +1742,11 @@ function getCustXsl(prefix)
function getCustCss(prefix)
{
prefix = prefix || "";
return custpath + "/" + prefix + customerId + ".css";
var fso = Server.CreateObject("Scripting.FileSystemObject");
var cssFile = custpath + "/" + prefix + customerId + ".css";
if (!fso.FileExists(Server.MapPath(cssFile)))
cssFile = custpath + "/" + prefix + "cust.css";
return cssFile;
}
// Merk op dat we een beetje browser capabilities en device capabilities