summaryrefslogtreecommitdiff
path: root/doc/ci/quick_start/img/status_pending.png
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-02-14 14:13:35 +0000
committerSean McGivern <sean@gitlab.com>2017-02-16 09:14:22 +0000
commit7a9d3a3c9043d391fc890befc6ed8117aa94c8ad (patch)
tree7ae6a76e685bf025f4e952bc93522cf4afa18ede /doc/ci/quick_start/img/status_pending.png
parentf802ad370e625e7aa2f3023f73c24a8b6f009821 (diff)
downloadgitlab-ce-7a9d3a3c9043d391fc890befc6ed8117aa94c8ad.tar.gz
Show merge errors in merge request widget
There were two problems here: 1. On the JS side, the reference to $widgetBody didn't refer to the right DOM element any more. This might be because it was replaced by the `getMergeStatus` method. Even if it wasn't, ensuring we have the right element means that the content gets updated. 2. On the Ruby side, the `log_merge_error` method didn't update the `merge_error` column of the merge request. Change that to update if requested, and update in the most common cases by default. Additionally, this would sometimes return an error hash, but it doesn't look like this was ever used (the return value of `MergeService#execute` appears to be unused everywhere).
Diffstat (limited to 'doc/ci/quick_start/img/status_pending.png')
0 files changed, 0 insertions, 0 deletions