• 
      

    Fix "whitespace-only changes" toggle for files with only whitespace changes.

    Review Request #4301 — Created July 6, 2013 and submitted

    Information

    Review Board
    release-1.7.x

    Reviewers

    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.
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
        Ignored Files:
          reviewboard/templates/diffviewer/diff_file_fragment.html
      
      
    2. 
        
    reviewbot
    1. This is a review from Review Bot.
        Tool: Pyflakes
        Processed Files:
        Ignored Files:
          reviewboard/templates/diffviewer/diff_file_fragment.html
      
      
    2. 
        
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed