Replace merge request widget body
This commit is contained in:
parent
125abfd4b2
commit
606147c32f
1 changed files with 3 additions and 1 deletions
|
@ -126,7 +126,9 @@
|
|||
|
||||
MergeRequestWidget.prototype.getMergeStatus = function() {
|
||||
return $.get(this.opts.merge_check_url, function(data) {
|
||||
return $('.mr-state-widget').replaceWith(data);
|
||||
var $html = $(data);
|
||||
$('.mr-state-body').replaceWith($html.find('.mr-state-body'));
|
||||
$('.mr-state-footer').replaceWith($html.find('.mr-state-footer'));
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue