X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775:/docs/source/ext-base-ajax.html diff --git a/docs/source/ext-base-ajax.html b/docs/source/ext-base-ajax.html index 09c0046b..ec75973e 100644 --- a/docs/source/ext-base-ajax.html +++ b/docs/source/ext-base-ajax.html @@ -1,11 +1,17 @@ - - - The source code - - - - -
/*
+
+
+  The source code
+    
+    
+
+
+    
/*!
+ * Ext JS Library 3.0.3
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+/*
  * Portions of this file are based on pieces of Yahoo User Interface Library
  * Copyright (c) 2007, Yahoo! Inc. All rights reserved.
  * YUI licensed under the BSD License:
@@ -36,7 +42,7 @@
 
             if (pub.headers) {
 				setTheHeaders(conn, pub.headers);
-                pub.headers = null;                
+                delete pub.headers;                
             }
         }    
         
@@ -46,8 +52,8 @@
 	            tId : tId,
 	            status : isAbort ? -1 : 0,
 	            statusText : isAbort ? 'transaction aborted' : 'communication failure',
-                    isAbort: true,
-                    isTimeout: true,
+                isAbort: isAbort,
+                isTimeout: isTimeout,
 	            argument : callbackArg
             };
         }  
@@ -293,8 +299,8 @@
 				            Ext.each(element.options, function(opt) {
 					            if (opt.selected) {
 						            data += String.format("{0}={1}&", 						            					  
-						            					 encoder(name),						            					 
-						            					  (opt.hasAttribute ? opt.hasAttribute('value') : opt.getAttributeNode('value').specified) ? opt.value : opt.text);
+						            					 encoder(name),
+                                                         encoder((opt.hasAttribute ? opt.hasAttribute('value') : opt.getAttribute('value') !== null) ? opt.value : opt.text));
                                 }								
                             });
 		                } else if(!/file|undefined|reset|button/i.test(type)) {
@@ -369,6 +375,6 @@
 	        }
 	    };
 	    return pub;
-    }();
- + }();
+ \ No newline at end of file