Commit 6e333d507565a63037e9f4142a29138efa530971
1 parent
d58eb62d
Exists in
master
and in
4 other branches
Javascript widget fixed
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/assets/javascripts/merge_requests.js.coffee
@@ -27,7 +27,7 @@ class MergeRequest | @@ -27,7 +27,7 @@ class MergeRequest | ||
27 | this.$el.find(selector) | 27 | this.$el.find(selector) |
28 | 28 | ||
29 | initMergeWidget: -> | 29 | initMergeWidget: -> |
30 | - this.showState( @opts.current_state ) | 30 | + this.showState( @opts.current_status ) |
31 | 31 | ||
32 | if this.$('.automerge_widget').length and @opts.check_enable | 32 | if this.$('.automerge_widget').length and @opts.check_enable |
33 | $.get @opts.url_to_automerge_check, (data) => | 33 | $.get @opts.url_to_automerge_check, (data) => |