Changeset - 72c8917108ee
[Not reviewed]
beta
0 1 0
Mads Kiilerich - 13 years ago 2013-03-19 22:50:28
madski@unity3d.com
Transplanted from: 386b345db75c
journal: don't show "error" popup when navigating away from page while lazy info is loading

The "error" box would pop up in the Journal view when quickly pointing and
clicking a link while the info was loading.

This fix might prevent showing valid error messages in some browsers.
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/js/rhodecode.js
Show inline comments
 
@@ -425,7 +425,9 @@ var ajaxGET = function(url,success) {
 
    var callback = {
 
        success: success,
 
        failure: function (o) {
 
            alert("error");
 
            if (o.status != 0) {
 
                alert("error: " + o.statusText);
 
            };
 
        },
 
    };
 

	
0 comments (0 inline, 0 general)