mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user