click on the review to close the report popup (bug 577379)
This commit is contained in:
Родитель
f37926d93a
Коммит
3f0efc510a
|
@ -33,11 +33,12 @@ $(document).ready(function() {
|
|||
$.ajax({type: 'POST',
|
||||
url: url,
|
||||
data: {flag: flag, note: note},
|
||||
success: function(){
|
||||
success: function() {
|
||||
el.find('.flag-review')
|
||||
.replaceWith(gettext('Flagged for review'));
|
||||
},
|
||||
error: function(){ },
|
||||
complete: function() { el.click() },
|
||||
dataType: 'json'
|
||||
});
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче