Skip to content

Dispatch needed JS when creating a new MR in diff view

username-removed-419825 requested to merge 27920-both-wip-messages-showing into master

What does this MR do?

  • Dispatch the needed JS code for the new_diffs action in the MR controller when creating a new MR
  • Set @show_changes_tab variable if location is new/diffs

Why was this MR needed?

  • Both WIP messages show if you
    • create a new MR
    • select the Changes tab
    • refresh the page

Screenshots (if relevant)

2017-02-14_13.49.36

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #27920 (closed)

Merge request reports