Changeset - cb8b4b7ac6e4
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-11-02 19:33:02
marcin@python-works.com
Grafted from: 974d6193b61a
removed call to window location in some cases when request end up to early it showed a bad page.
Very annoying
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/js/rhodecode.js
Show inline comments
 
@@ -163,26 +163,25 @@ function ypjax(url,container,s_call,f_ca
 
			YUD.get(container).innerHTML=o.responseText;
 
			YUD.setStyle(container,'opacity','1.0');
 
    		//execute the given original callback
 
    		if (s_call !== undefined){
 
    			s_call(o);
 
    		}
 
		}
 
	})()	
 
	YUD.setStyle(container,'opacity','0.3');
 
	YUC.asyncRequest(method,url,{
 
		success:s_wrapper,
 
		failure:function(o){
 
			//failure
 
			window.location = url;
 
			console.log(o)
 
		}
 
	},args);
 
	
 
}
 

	
 
/**
 
 * tooltip activate
 
 */
 
var tooltip_activate = function(){
 
    function toolTipsId(){
 
        var ids = [];
 
        var tts = YUQ('.tooltip');
0 comments (0 inline, 0 general)