Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php |
— | — | @@ -509,7 +509,7 @@ |
510 | 510 | // Countries |
511 | 511 | $htmlOut .= Xml::openElement( 'tr' ); |
512 | 512 | $htmlOut .= Xml::tags( 'td', array(), Xml::label( 'Geotargeted', 'geotargeted' ) ); |
513 | | - $htmlOut .= Xml::tags( 'td', array(), Xml::check( 'geotargeted', false, wfArrayMerge( $readonly, array( 'value' => 0, 'id' => 'geotargeted' ) ) ) ); |
| 513 | + $htmlOut .= Xml::tags( 'td', array(), Xml::check( 'geotargeted', false, wfArrayMerge( $readonly, array( 'value' => 1, 'id' => 'geotargeted' ) ) ) ); |
514 | 514 | $htmlOut .= Xml::closeElement( 'tr' ); |
515 | 515 | $htmlOut .= Xml::openElement( 'tr', array( 'id'=>'geoMultiSelector' ) ); |
516 | 516 | $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top' ), 'Countries' ); |
Index: trunk/extensions/CentralNotice/centralnotice.js |
— | — | @@ -48,9 +48,9 @@ |
49 | 49 | $(document).ready(function() { |
50 | 50 | $("#geotargeted").click(function () { |
51 | 51 | if ($('#geotargeted:checked').val() !== undefined) { |
52 | | - $("#geoMultiSelector").show('slow'); |
| 52 | + $("#geoMultiSelector").fadeIn('fast'); |
53 | 53 | } else { |
54 | | - $("#geoMultiSelector").hide('slow'); |
| 54 | + $("#geoMultiSelector").fadeOut('fast'); |
55 | 55 | } |
56 | 56 | }); |
57 | 57 | }); |