Bug #15826
closedBE pagetree - selected site is not marked anymore
0%
Description
After selecting a site in the pagetree, the active page is not marked (like in 3.8). This makes it difficult to see wich site I'm working on.
This is true for all betas and the RC1 of the new skin.
(issue imported from #M2869)
Files
Updated by Wolfgang Paar over 18 years ago
I learned that this is an IE issue (It's working as indented f.e. with Firefox)
Updated by Clemens Riccabona over 18 years ago
I experienced this problem as well.
I wasn't able to find out the exact problem yet.
Updated by Armin Guenther over 18 years ago
typo3 (ver.4) uses the following javascript statement to set the class attribute of the acitve page:
theObj.setAttribute("class", "navFrameHL");
This does not work for IE. You have to use
theObj.setAttribute("className", "navFrameHL");
For a rough and dirty solution you may change in typo3/alt_db_navframe.php (and in
typo3/alt_file_navframe.php) the function hilight_row():
Replace
if (theObj) {
theObj.setAttribute("class", "");
}
by
if (theObj) {
theObj.setAttribute("class", "");
theObj.setAttribute("className", "");
}
and replace
if (theObj) {
theObj.setAttribute("class", "navFrameHL");
}
by
if (theObj) {
theObj.setAttribute("class", "navFrameHL");
theObj.setAttribute("className", "navFrameHL");
}
Just a workaround no good programming style.
Greetings,
Armin
Updated by Benni Mack almost 17 years ago
Could not reproduce and should be fixed with 4.1 and all of the above, ok?