Commit 8f615f64 authored by Nigel McNie's avatar Nigel McNie
Browse files

Fix javascript that is views interface in IE7.

For some strange reason, where setStyle used to work in IE7 it doesn't any more. It might just be Martyn's IE though.
parent 81ab4db2
......@@ -548,10 +548,16 @@ function ViewManager() {
// The border rule is required for IE7 to behave - and it needs the
// semi-colon!
setStyle(clone, {
'border': '0px dotted transparent;',
'position': 'absolute'
});
if (self.isIE7) {
clone.style.border = '0px dotted transparent;';
clone.style.cssPosition = 'absolute';
}
else {
setStyle(clone, {
'border': '0px dotted transparent;',
'position': 'absolute'
});
}
if (self.isIE7 || self.isIE6) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment