# HG changeset patch # User Daniel Dourvaris # Date 2016-06-09 13:20:29 # Node ID 7160ae178bc7eaeb10cfc1bb19e6cdf66f2a359c # Parent 60aa17268c08619d3d260ec35bdee3a9554ea1c6 pullrequests: force ajax request to not use browser cache fixes #4002 diff --git a/rhodecode/templates/pullrequests/pullrequest.html b/rhodecode/templates/pullrequests/pullrequest.html --- a/rhodecode/templates/pullrequests/pullrequest.html +++ b/rhodecode/templates/pullrequests/pullrequest.html @@ -271,7 +271,8 @@ 'source_ref_type': 'rev', 'target_ref': sourceRef[2], 'target_ref_type': 'rev', - 'merge': true + 'merge': true, + '_': Date.now() // bypass browser caching }; // gather the source/target ref and repo here if (sourceRef.length !== 3 || targetRef.length !== 3) {