Commit ad3f4922 authored by randx's avatar randx

Merge Request: fix automerge widget

parent 2def1c72
...@@ -30,7 +30,7 @@ var MergeRequest = { ...@@ -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");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment