jvelociter (SVN) wrote:
Author: jvelociter
Date: 2008-07-22 17:01:40 +0200 (Tue, 22 Jul 2008)
New Revision: 11414
Modified:
xwiki-products/xwiki-workspaces/branches/xwiki-workspaces-1.1/wiki/src/main/resources/XWSCode/RegistrationService
Log:
XWS-133 Impossible to register on IE6
Modified:
xwiki-products/xwiki-workspaces/branches/xwiki-workspaces-1.1/wiki/src/main/resources/XWSCode/RegistrationService
===================================================================
---
xwiki-products/xwiki-workspaces/branches/xwiki-workspaces-1.1/wiki/src/main/resources/XWSCode/RegistrationService 2008-07-22
12:04:53 UTC (rev 11413)
+++
xwiki-products/xwiki-workspaces/branches/xwiki-workspaces-1.1/wiki/src/main/resources/XWSCode/RegistrationService 2008-07-22
15:01:40 UTC (rev 11414)
@@ -12,9 +12,9 @@
<customClass></customClass>
<contentAuthor>XWiki.Admin</contentAuthor>
<creationDate>1211638814000</creationDate>
-<date>1214922499000</date>
-<contentUpdateDate>1214922499000</contentUpdateDate>
-<version>5.1</version>
+<date>1216742225000</date>
+<contentUpdateDate>1216742225000</contentUpdateDate>
+<version>15.1</version>
<title></title>
<template></template>
<defaultTemplate></defaultTemplate>
@@ -353,12 +353,12 @@
var valid = $('validation_' + fieldId);
if (fail) {
valid.innerHTML = message;
- input.style.border = "1px solid red;"
+ input.setAttribute("style", "border:1px solid red;");
valid.setAttribute("class", "errormessage");
}
else {
valid.innerHTML = "";
- input.style.border = "1px solid green;"
+ input.setAttribute("style","border:1px solid green;");
valid.setAttribute("class", "");
}
}
It's not nice to use setAttribute like this, since it may override other
rules set for that element.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/