diff --git a/ajax.js b/ajax.js index 1aa10fbb..cfee8133 100644 --- a/ajax.js +++ b/ajax.js @@ -1,5 +1,5 @@ //========================================= -// 数据交互模块 +// 数据交互模块 JS测试提交 //========================================== //var reg = /^[^\u4E00-\u9FA5]*$/; define("ajax", this.FormData ? ["flow"] : ["ajax_fix"], function($) { @@ -519,6 +519,9 @@ define("ajax", this.FormData ? ["flow"] : ["ajax_fix"], function($) { } } } + if(this.status==2){ + this.status=5; + } this.status = status; this.statusText = statusText; if (this.timeoutID) { @@ -550,4 +553,4 @@ define("ajax", this.FormData ? ["flow"] : ["ajax_fix"], function($) { 2012.3.31 v2 大重构,支持XMLHttpRequest Level2 2013.4.8 v3 大重构 支持二进制上传与下载 http://www.cnblogs.com/heyuquan/archive/2013/05/13/3076465.html - */ \ No newline at end of file + */