Merge Request: fix automerge widget

This commit is contained in:
randx 2012-06-29 22:02:22 +03:00
parent 2def1c7217
commit ad3f4922ee

View file

@ -30,7 +30,7 @@ var MergeRequest = {
self.showState(self.opts.current_state);
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);
}, "json");
}