r52117 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52116‎ | r52117 | r52118 >
Date:14:09, 18 June 2009
Author:nikerabbit
Status:deferred
Tags:
Comment:
Rename file case by request of RoanKattouw
Modified paths:
  • /trunk/extensions/UsabilityInitiative/OptIn/OptIn.js (added) (history)
  • /trunk/extensions/UsabilityInitiative/OptIn/optin.js (deleted) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/OptIn/optin.js
@@ -1,14 +0,0 @@
2 -/* JavaScript for OptIn extension */
3 -
4 -$( document ).ready( function() {
5 - $( '.optin-other-select' ).hide();
6 - $( 'select.optin-need-other' ).change( function() {
7 - if( $(this).val() == 'other' )
8 - $( '#' + $(this).attr( 'id' ) + '-other' ).show();
9 - else
10 - $( '#' + $(this).attr( 'id' ) + '-other' ).hide();
11 - });
12 - $( '.optin-other-radios' ).click( function() {
13 - $(this).prev().prev().click();
14 - });
15 -});
\ No newline at end of file
Index: trunk/extensions/UsabilityInitiative/OptIn/OptIn.js
@@ -0,0 +1,14 @@
 2+/* JavaScript for OptIn extension */
 3+
 4+$( document ).ready( function() {
 5+ $( '.optin-other-select' ).hide();
 6+ $( 'select.optin-need-other' ).change( function() {
 7+ if( $(this).val() == 'other' )
 8+ $( '#' + $(this).attr( 'id' ) + '-other' ).show();
 9+ else
 10+ $( '#' + $(this).attr( 'id' ) + '-other' ).hide();
 11+ });
 12+ $( '.optin-other-radios' ).click( function() {
 13+ $(this).prev().prev().click();
 14+ });
 15+});
\ No newline at end of file

Status & tagging log