changeset 1637:974d6193b61a

removed call to window location in some cases when request end up to early it showed a bad page. Very annoying
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 02 Nov 2011 20:33:02 +0200
parents c3b8a2513d4a
children 95c3e33ef32e
files rhodecode/public/js/rhodecode.js
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/js/rhodecode.js	Mon Oct 17 01:58:22 2011 +0200
+++ b/rhodecode/public/js/rhodecode.js	Wed Nov 02 20:33:02 2011 +0200
@@ -172,8 +172,7 @@
 	YUC.asyncRequest(method,url,{
 		success:s_wrapper,
 		failure:function(o){
-			//failure
-			window.location = url;
+			console.log(o)
 		}
 	},args);