From 429d9e273b41321b4682b5c3be6d4328fce97ab2 Mon Sep 17 00:00:00 2001 From: Ariel Backenroth Date: Sat, 7 Oct 2006 23:43:39 +0000 Subject: [PATCH] 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 --- source/web/scripts/ajax/xforms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/web/scripts/ajax/xforms.js b/source/web/scripts/ajax/xforms.js index 972e5db79d..90971bcbfc 100644 --- a/source/web/scripts/ajax/xforms.js +++ b/source/web/scripts/ajax/xforms.js @@ -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";