Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8681
32441.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 22 2014, 12:06 AM
2014-11-22 00:06:31 (UTC+0)
Size
799 B
Referenced Files
None
Subscribers
None
32441.diff
View Options
Index: modules/ext.fundraiserstatistics.js
===================================================================
--- modules/ext.fundraiserstatistics.js (revision 107620)
+++ modules/ext.fundraiserstatistics.js (working copy)
@@ -35,7 +35,14 @@
} );
// When someone clicks on a year, hide or show that year in the chart
$j( '#configholder .yeartoggle' ).click( function() {
- $j('.fundraiserstats-'+$j(this).attr( 'id' )).toggle();
+ var checked = $(this).is(":checked");
+ $j('.fundraiserstats-' + $j(this).attr('id')).each(function () {
+ if (checked) {
+ $j(this).css('display','block');
+ } else {
+ $j(this).css('display','none');
+ }
+ });
} );
// When someone clicks on Customize, display pop-up menu and change arrow icon.
$j( '#configtoggle' ).click( function() {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8198
Default Alt Text
32441.diff (799 B)
Attached To
Mode
T34441: Year filtering on Special:FundraiserStatistics broken
Attached
Detach File
Event Timeline
Log In to Comment