Skip to content
Snippets Groups Projects
  1. Jan 13, 2016
  2. Dec 10, 2015
  3. Dec 09, 2015
  4. Dec 08, 2015
  5. Oct 14, 2015
    • Robert Speicher's avatar
      Prevent a JS error in MergeRequestTabs · fc0d9274
      Robert Speicher authored
      When `window.location.hash` is pointing to a note, e.g. `#note_1234`,
      `scrollToElement` would throw an error because a selector such as
      `.commits #note_1234` doesn't exist, so `offset()` returned `undefined`.
      
      This error would prevent subsequent calls from running, which caused the
      loading spinner to never be hidden.
      
      Now we ensure the selector returns a valid element before trying to
      scroll to it.
      fc0d9274
  6. Oct 09, 2015
    • Robert Speicher's avatar
      Make the loading spinner toggle more explicit · 29fe488b
      Robert Speicher authored
      Occasionally the loading spinner would stay visible after the tab
      finished loading. This change makes the toggle explicit so that it's
      always shown on `beforeSend`, and always hidden on `complete`.
      
      Plus a bonus semi-colon eradication! :boom:
      29fe488b
  7. Oct 05, 2015
  8. Jul 23, 2015
    • Stan Hu's avatar
      Fix the "Reload with full diff" URL button · ae3f869f
      Stan Hu authored
      On the first load, the merge request tabs would be requested in JSON format to render
      the HTML. This would cause the "Reload with full diff" button to create a link to diff.json.
      
      Closes #2041
      ae3f869f
  9. Jul 06, 2015
  10. Jun 26, 2015
  11. Jun 25, 2015
    • Robert Speicher's avatar
      Reorder MergeRequestTabs constructor · 4e7f23fe
      Robert Speicher authored
      The tab was being activated before we set the `[commits|diffs]Loaded`
      variable, so even when the `/diffs` route is accessed directly, like
      from the "Side-by-side" link, the tab was being loaded from its default
      source.
      
      Fixes #1887
      4e7f23fe
  12. Jun 22, 2015
  13. Jun 21, 2015
  14. Jun 17, 2015
Loading