Revision: 52117 Author: nikerabbit Date: 2009-06-18 14:09:22 +0000 (Thu, 18 Jun 2009)
Log Message: ----------- Rename file case by request of RoanKattouw Added Paths: ----------- trunk/extensions/UsabilityInitiative/OptIn/OptIn.js Removed Paths: ------------- trunk/extensions/UsabilityInitiative/OptIn/optin.js Copied: trunk/extensions/UsabilityInitiative/OptIn/OptIn.js (from rev 52116, trunk/extensions/UsabilityInitiative/OptIn/optin.js) =================================================================== --- trunk/extensions/UsabilityInitiative/OptIn/OptIn.js (rev 0) +++ trunk/extensions/UsabilityInitiative/OptIn/OptIn.js 2009-06-18 14:09:22 UTC (rev 52117) @@ -0,0 +1,14 @@ +/* JavaScript for OptIn extension */ + +$( document ).ready( function() { + $( '.optin-other-select' ).hide(); + $( 'select.optin-need-other' ).change( function() { + if( $(this).val() == 'other' ) + $( '#' + $(this).attr( 'id' ) + '-other' ).show(); + else + $( '#' + $(this).attr( 'id' ) + '-other' ).hide(); + }); + $( '.optin-other-radios' ).click( function() { + $(this).prev().prev().click(); + }); +}); \ No newline at end of file Deleted: trunk/extensions/UsabilityInitiative/OptIn/optin.js =================================================================== --- trunk/extensions/UsabilityInitiative/OptIn/optin.js 2009-06-18 14:02:55 UTC (rev 52116) +++ trunk/extensions/UsabilityInitiative/OptIn/optin.js 2009-06-18 14:09:22 UTC (rev 52117) @@ -1,14 +0,0 @@ -/* JavaScript for OptIn extension */ - -$( document ).ready( function() { - $( '.optin-other-select' ).hide(); - $( 'select.optin-need-other' ).change( function() { - if( $(this).val() == 'other' ) - $( '#' + $(this).attr( 'id' ) + '-other' ).show(); - else - $( '#' + $(this).attr( 'id' ) + '-other' ).hide(); - }); - $( '.optin-other-radios' ).click( function() { - $(this).prev().prev().click(); - }); -}); \ No newline at end of file _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs