Learn more about these different git repos.
Other Git URLs
0172b00
@@ -983,7 +983,9 @@
$('#assignee').val("{{ g.fas_user.username }}");
setup_btn_take_drop();
}
- )
+ ).fail(function() {
+ alert( "An error occured, could not assign this ticket to you." );
+ })
return false;
{% endif %}
@@ -1005,7 +1007,9 @@
$('#assignee').val("");
+ alert( "An error occured, could not drop the current assignee." );
We had an issue where the user asking to take or drop assignee on a ticket had no feedback if the ajax call failed. This commit fixes that by reporting an error to the user.
Fixes https://pagure.io/pagure/issue/3996
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
pretty please pagure-ci rebuild
:thumbsup:
Pull-Request has been merged by pingou
We had an issue where the user asking to take or drop assignee on
a ticket had no feedback if the ajax call failed.
This commit fixes that by reporting an error to the user.
Fixes https://pagure.io/pagure/issue/3996
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr