Commit 891bc414b13a1c6e2a9a09261de1ba3e36270f2f
1 parent
fed9a3d5
Exists in
master
and in
4 other branches
Fix merge_request js -> ci_path
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/assets/javascripts/merge_requests.js.coffee
| ... | ... | @@ -35,7 +35,7 @@ class MergeRequest |
| 35 | 35 | , 'json' |
| 36 | 36 | |
| 37 | 37 | if @opts.ci_enable |
| 38 | - $.get self.opts.url_to_ci_check, (data) => | |
| 38 | + $.get @opts.url_to_ci_check, (data) => | |
| 39 | 39 | this.showCiState data.status |
| 40 | 40 | , 'json' |
| 41 | 41 | |
| ... | ... | @@ -94,4 +94,4 @@ class MergeRequest |
| 94 | 94 | this.$('.merge-in-progress').hide() |
| 95 | 95 | this.$('.automerge_widget.already_cannot_be_merged').show() |
| 96 | 96 | |
| 97 | -this.MergeRequest = MergeRequest | |
| 98 | 97 | \ No newline at end of file |
| 98 | +this.MergeRequest = MergeRequest | ... | ... |