Item9463: Edit confirmation warning screen looks strange
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
It looks like the login screen but misses padding.
Caused by
strikeone_js
:
pcd: function() {
// Use the browser getElementsByClassName implementation if available
if (document.getElementsByClassName != null) {
var js_ok = document.getElementsByClassName('s1js_available');
for (i = 0; i < js_ok.length; i++)
js_ok[i].style.display = 'inline';
} else {
// We *could* use the one in foswikilib.js, but that would mean
// a dependency, plus it is less efficient than this.....
var divs = document.getElementsByTagName('DIV');
for (var i = 0; i < divs.length; i++) {
if (/\bs1js_available\b/.test(divs[i].className))
divs[i].style.display = 'inline';
}
}
}
Better to write
js_ok[i].style.display = '';
divs[i].style.display = '';
--
ArthurClemens - 12 Aug 2010
Fixed by CC in
Item9442.
--
ArthurClemens - 13 Aug 2010