Merge Request: fix automerge widget
This commit is contained in:
parent
2def1c7217
commit
ad3f4922ee
|
@ -30,7 +30,7 @@ var MergeRequest = {
|
||||||
self.showState(self.opts.current_state);
|
self.showState(self.opts.current_state);
|
||||||
|
|
||||||
if($(".automerge_widget").length && self.opts.check_enable){
|
if($(".automerge_widget").length && self.opts.check_enable){
|
||||||
$.get(opts.url_to_automerge_check, function(data){
|
$.get(self.opts.url_to_automerge_check, function(data){
|
||||||
self.showState(data.state);
|
self.showState(data.state);
|
||||||
}, "json");
|
}, "json");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue