# HG changeset patch # User Marcin Kuzminski # Date 2011-11-02 18:33:02 # Node ID 974d6193b61aa156472908dd32ef258ce4a1d1e5 # Parent c3b8a2513d4aaaa821ce7e79125b77d3e40394db 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);