# HG changeset patch # User Marcin Kuzminski # Date 2011-11-02 18:33:02 # Node ID cb8b4b7ac6e408e3f5a0a29b6942eb3917e8c4aa # Parent e42b8e9a5f76cc38aa399d32e3d631ce0c1749f0 removed call to window location in some cases when request end up to early it showed a bad page. Very annoying diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js +++ b/rhodecode/public/js/rhodecode.js @@ -172,8 +172,7 @@ function ypjax(url,container,s_call,f_ca YUC.asyncRequest(method,url,{ success:s_wrapper, failure:function(o){ - //failure - window.location = url; + console.log(o) } },args);