From 11a29970dc56b0600c4f69361faa531be3433fd0 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Thu, 20 May 2004 11:26:33 +0000 Subject: [PATCH] hide 'guess timezone' button if javascript is not available. (fix for bug #928031) --- includes/SpecialPreferences.php | 2 +- stylesheets/wikibits.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index ff805b5073..11696a02ef 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -430,7 +430,7 @@ class PreferencesForm {
$tzServerTime: $nowserver
$ltz: $nowlocal
-
+
* {$tzt}
\n\n" ); diff --git a/stylesheets/wikibits.js b/stylesheets/wikibits.js index 074a9d21c4..c65af895f5 100644 --- a/stylesheets/wikibits.js +++ b/stylesheets/wikibits.js @@ -150,6 +150,7 @@ function tabbedprefs() { } prefform.insertBefore(toc, children[0]); document.getElementById('prefsubmit').id = 'prefcontrol'; + document.getElementById('guesstimezonebutton').style.display = 'inline'; } function uncoversection() { oldsecid = this.parentNode.parentNode.selectedid; -- 2.20.1