Ticket #825: ticket825.patch

File ticket825.patch, 0.6 KB (added by FND, 3 years ago)

code courtesy of Chris

  • core/js/Http.js

    diff --git a/core/js/Http.js b/core/js/Http.js
    index 4c5fdcb..c4a7633 100644
    a b  
    5959                        status = false; 
    6060                } 
    6161                if(x.readyState == 4 && callback && (status !== undefined)) { 
    62                         if([0, 200, 201, 204, 207].contains(status)) 
     62                        if([0, 200, 201, 204, 207, 1223].contains(status)) { 
    6363                                callback(true,params,x.responseText,url,x); 
    64                         else 
     64                        } else { 
    6565                                callback(false,params,null,url,x); 
     66                        } 
    6667                        x.onreadystatechange = function(){}; 
    6768                        x = null; 
    6869                }