Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS

phase3/stylesheets wikibits.js,1.31,1.32

 

 

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded


gabrielwicke at users

May 20, 2004, 4:47 AM

Post #1 of 1 (2 views)
Permalink
phase3/stylesheets wikibits.js,1.31,1.32

Update of /cvsroot/wikipedia/phase3/stylesheets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23097

Modified Files:
wikibits.js
Log Message:
unhide tz button also for older js-enabled browsers

Index: wikibits.js
===================================================================
RCS file: /cvsroot/wikipedia/phase3/stylesheets/wikibits.js,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** wikibits.js 20 May 2004 11:26:33 -0000 1.31
--- wikibits.js 20 May 2004 11:47:24 -0000 1.32
***************
*** 20,23 ****
--- 20,24 ----
if(!(document.getElementById && document.getElementsByTagName)) return;
histrowinit();
+ unhidetzbutton();
tabbedprefs();
}
***************
*** 120,124 ****
for(i=0;i<children.length;i++) {
if(children[i].nodeName.indexOf('FIELDSET') != -1) {
! children[i].id = 'prefsection-' + i;
children[i].className = 'prefsection';
if(is_opera || is_khtml) children[i].className = 'prefsection operaprefsection';
--- 121,125 ----
for(i=0;i<children.length;i++) {
if(children[i].nodeName.indexOf('FIELDSET') != -1) {
! children[i].id = 'prefsection-' + seci;
children[i].className = 'prefsection';
if(is_opera || is_khtml) children[i].className = 'prefsection operaprefsection';
***************
*** 151,155 ****
prefform.insertBefore(toc, children[0]);
document.getElementById('prefsubmit').id = 'prefcontrol';
- document.getElementById('guesstimezonebutton').style.display = 'inline';
}
function uncoversection() {
--- 152,155 ----
***************
*** 184,187 ****
--- 184,191 ----
}
}
+ function unhidetzbutton() {
+ tzb = document.getElementById('guesstimezonebutton')
+ if(tzb) tzb.style.display = 'inline';
+ }

// in [-]HH:MM format...

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.