From fc0551b6175a59e89e338185a997bda07f414481 Mon Sep 17 00:00:00 2001 From: Daniel Dourvaris Date: Thu, 9 Jun 2016 16:20:29 +0300 Subject: [PATCH] pullrequests: force ajax request to not use browser cache fixes #4002 --- rhodecode/templates/pullrequests/pullrequest.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rhodecode/templates/pullrequests/pullrequest.html b/rhodecode/templates/pullrequests/pullrequest.html index ad83291c..3ca00878 100644 --- a/rhodecode/templates/pullrequests/pullrequest.html +++ b/rhodecode/templates/pullrequests/pullrequest.html @@ -271,7 +271,8 @@ $(function(){ '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) {