From b3257c724a8fd5540c2ac3b1701578877cf53734 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Sep 26 2018 11:45:59 +0000 Subject: fix pr-dropdown Previously, trying to open a PR from a main repo from a branch in your fork, you would get a 404. this fixes this issue. Fixes #3730 --- diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index 654a3c8..e105745 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -523,7 +523,7 @@ $("#pr-button").one("click", }; $.post(_pr_url, data, null, dataType='json').done( function(data) { - process_task_results(data, generate_branch_list); + process_task_results(data, generate_branch_list_fork); }) _b.prepend(new_pr); }