Fix bug with bits of hidden admin bar panels showing through, or at least it

works now in Firefox.
This commit is contained in:
Drake 2006-12-06 23:06:01 +00:00
parent 9a86e99710
commit c4d31b58fd
2 changed files with 10 additions and 6 deletions

View file

@ -48,6 +48,7 @@
- fix: visitor name disappearing on preview in CS - fix: visitor name disappearing on preview in CS
- fix: HTTP proxy not passing form elements through - fix: HTTP proxy not passing form elements through
- upgrade script patches some corrupted commerce template settings - upgrade script patches some corrupted commerce template settings
- fix: bits of other panels showing through in admin bar
- The Events Calendar is now the new Calendar with some fun new features. - The Events Calendar is now the new Calendar with some fun new features.
All your existing Events Calendars will be migrated automatically. All your existing Events Calendars will be migrated automatically.
- rfe: multiple redirects on a page - which one? - rfe: multiple redirects on a page - which one?

View file

@ -211,12 +211,15 @@ function sp_showPanel(nr) {
this.aktPanel=nr; this.aktPanel=nr;
l = this.panels.length; l = this.panels.length;
for (i=0;i<l;i++) { for (i=0;i<l;i++) {
//alert(nr); //alert(nr);
if (i>nr) { if (i>nr) {
this.panels[i].obj.style.top=this.height-((l-i)*slidePanelButtonHeight)+"px"; this.panels[i].obj.style.top=this.height-((l-i)*slidePanelButtonHeight)+"px";
} else { } else {
this.panels[i].obj.style.top=i*slidePanelButtonHeight+"px"; this.panels[i].obj.style.top=i*slidePanelButtonHeight+"px";
} }
// Fix bug with bits of other panels showing through.
this.panels[i].objf.style.visibility = (i == nr)? 'visible' : 'hidden';
} }
} }