https://bugzilla.wikimedia.org/show_bug.cgi?id=32441

--- Comment #1 from Joe Benson <scouterj...@netscape.net> 2011-12-30 04:21:53 
UTC ---
Created attachment 9781
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9781
Patch for FundraiserStatistics JavaScript

The problem seems to be with jQuery. When you uncheck 2009 in step 3, the
script uses jQuery.toggle(), but toggle() isn't toggling the bars for 2009 on
every tab, only the current one. I'm guessing that's because the bars in other
tabs are already hidden because their parent <div> is hidden so toggle()
ignores them. Whether that's a bug or the folks at jQuery call it a "feature" I
don't know. The attached patch for extensions/ContributionReporting sets all
bars for a given year to display:block or display:none based on the checkbox
state. Tried it on my computer, worked fine.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to