Javascript widget fixed
This commit is contained in:
parent
d58eb62d68
commit
6e333d5075
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class MergeRequest
|
||||||
this.$el.find(selector)
|
this.$el.find(selector)
|
||||||
|
|
||||||
initMergeWidget: ->
|
initMergeWidget: ->
|
||||||
this.showState( @opts.current_state )
|
this.showState( @opts.current_status )
|
||||||
|
|
||||||
if this.$('.automerge_widget').length and @opts.check_enable
|
if this.$('.automerge_widget').length and @opts.check_enable
|
||||||
$.get @opts.url_to_automerge_check, (data) =>
|
$.get @opts.url_to_automerge_check, (data) =>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue