gitlab-org--gitlab-foss/app/assets
Jacob Schatz 24b24aff75 Merge branch 'discussion-outdated-form' into 'master'
Fixed JS error when trying to remove discussion form

## What does this MR do?

Fixes a JS error which was caused by an ID of the form not matching what was returned by the JSON. Instead of checking that, it gets the current form from the ajax success event.

This would only happen on outdated discussions because the ID of the discussion form ends with `-false` because it isn't active. However, the note is added to an active discussion so the ID returned actually ends in `-true` & therefore the JS couldn't find the correct form.

## What are the relevant issue numbers?

Closes #17778

See merge request !4303
2016-05-26 14:46:54 +00:00
..
fonts remove execution permissions from fonts 2016-01-21 01:31:17 -05:00
images New confirmation email 🔥 2016-05-25 16:56:06 -04:00
javascripts Merge branch 'discussion-outdated-form' into 'master' 2016-05-26 14:46:54 +00:00
stylesheets Merge branch 'updated-contrib-calendar' into 'master' 2016-05-25 23:29:41 +00:00