Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions ajax.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//=========================================
// 数据交互模块
// 数据交互模块 JS测试提交
//==========================================
//var reg = /^[^\u4E00-\u9FA5]*$/;
define("ajax", this.FormData ? ["flow"] : ["ajax_fix"], function($) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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
*/
*/