Fix "whitespace-only changes" toggle for files with only whitespace changes.
Review Request #4301 — Created July 6, 2013 and submitted — Latest diff uploaded
Fix "whitespace-only changes" toggle for files with only whitespace changes. A change made a while back broke the logic for determining when to show the "This file has only whitespace changes" description. That description was necessary, because we keyed off the visibility toggles for whitespace-only chunks based on it. So, the entire feature was broken. That description element has been restored and the toggle works again.
Tested the toggle on a file that contained only whitespace changes. It properly toggled between the description and showing chunks.