changeset 2694:78694f9acd31 beta

Add cache to ypjax calls to overcome chrome caching issues of requests
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 05 Aug 2012 00:56:00 +0200
parents 66c778b8cb54
children 26fac32c215d
files rhodecode/public/js/rhodecode.js
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/js/rhodecode.js	Sat Aug 04 21:39:05 2012 +0200
+++ b/rhodecode/public/js/rhodecode.js	Sun Aug 05 00:56:00 2012 +0200
@@ -219,7 +219,8 @@
 			console.log(o);
 			YUD.get(container).innerHTML='<span class="error_red">ERROR: {0}</span>'.format(o.status);
 			YUD.setStyle(container,'opacity','1.0');
-		}
+		},
+		cache:false
 	},args);
 	
 };