changeset 1638:cb8b4b7ac6e4 beta

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 e42b8e9a5f76
children 59c26a9aba63
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	Wed Nov 02 16:57:44 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);