#616 [frontend] fix batch build delete in group projects; see #575
Merged 5 years ago by praiskup. Opened 5 years ago by frostyx.

@@ -219,7 +219,7 @@ 

          return false;

        }

  

-       $.post("{{ url_for('coprs_ns.copr_delete_builds', username=copr.user.name, coprname=copr.name) }}", {"build_ids": build_ids}, function() {

+       $.post("{{ copr_url('coprs_ns.copr_delete_builds', copr) }}", {"build_ids": build_ids}, function() {

          $(location).attr('href', '{{ copr_url('coprs_ns.copr_builds', copr) }}');

        });

        return false;

This should fix the #575,
or at least it fixes it for me if I found the root of the issue properly.

rebased onto ea3b481

5 years ago

Pull-Request has been merged by praiskup

5 years ago