• 
      

    Only animate the datagrid menu when it is not animating

    Review Request #8198 — Created May 30, 2016 and submitted — Latest diff uploaded

    Information

    Djblets
    release-0.9.x
    e5bfd0e...

    Reviewers

    Previously, toggling the column menu for datagrids fast enough would
    result in it breaking due to a variable being null. Now, we will only
    trigger the menu opening/closing animation if the menu is not currently
    being animated. The code has also been cleaned up a bit to use a flag
    instead of a jQuery object to determine whether or not the menu is open.

    Could not reproduce this issue with the patch applied.