use setAttribute("className" in IE rather than setAttribute("class"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ariel Backenroth
2006-10-07 23:43:39 +00:00
parent e2d119b3ba
commit 429d9e273b

View File

@@ -1379,7 +1379,7 @@ function _show_error(msg)
{
errorDiv = document.createElement("div");
errorDiv.setAttribute("id", "alf-xforms-error");
errorDiv.setAttribute("class", "infoText statusErrorText");
errorDiv.setAttribute(document.all ? "className" : "class", "infoText statusErrorText");
errorDiv.style.padding = "2px";
errorDiv.style.borderColor = "#003366";
errorDiv.style.borderWidth = "1px";