r22858 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22857‎ | r22858 | r22859 >
Date:00:49, 9 June 2007
Author:david
Status:old
Tags:
Comment:
basic js in place for form date inderdependency sanity checking
Modified paths:
  • /branches/liquidthreads/skins/common/lqt.js (modified) (history)

Diff [purge]

Index: branches/liquidthreads/skins/common/lqt.js
@@ -16,19 +16,19 @@
1717 if(!document.getElementById) return;
1818
1919 // Hide the Go button and turn on automatic submission on the archive browser.
20 -
 20+ /*
2121 var dropdown = document.getElementById('lqt_archive_month');
2222 var success = lqt_add_event(dropdown, 'change', function(){
2323 document.getElementById('lqt_archive_browser_form').submit();
2424 });
2525 if (success) {
2626 document.getElementById('lqt_archive_go_button').className = "lqt_hidden";
27 - }
28 -
29 - var searchform = document.getElementById('lqt_archive_search_form');
 27+ }*/
 28+
 29+
 30+ var searchform = document.getElementById("lqt_archive_search_form");
3031 if ( searchform ) {
31 - alert("foo");
32 - lqt_add_event( document.getElementById('lqt_archive_start' ), 'change', function(e) {
 32+ lqt_add_event( document.getElementById("lqt_archive_start"), 'change', function(e) {
3333 alert(e.target);
3434 } );
3535 }

Status & tagging log