-<html>\r
-<head>\r
- <title>The source code</title>\r
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js">/*\r
+<html>
+<head>
+ <title>The source code</title>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+</head>
+<body onload="prettyPrint();">
+ <pre class="prettyprint lang-js">/*!
+ * Ext JS Library 3.0.3
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+/*\r
* Portions of this file are based on pieces of Yahoo User Interface Library\r
* Copyright (c) 2007, Yahoo! Inc. All rights reserved.\r
* YUI licensed under the BSD License:\r
\r
if (pub.headers) {\r
setTheHeaders(conn, pub.headers);\r
- pub.headers = null; \r
+ delete pub.headers; \r
}\r
} \r
\r
tId : tId,\r
status : isAbort ? -1 : 0,\r
statusText : isAbort ? 'transaction aborted' : 'communication failure',\r
- isAbort: true,\r
- isTimeout: true,\r
+ isAbort: isAbort,\r
+ isTimeout: isTimeout,\r
argument : callbackArg\r
};\r
} \r
Ext.each(element.options, function(opt) {\r
if (opt.selected) {\r
data += String.format("{0}={1}&", \r
- encoder(name), \r
- (opt.hasAttribute ? opt.hasAttribute('value') : opt.getAttributeNode('value').specified) ? opt.value : opt.text);\r
+ encoder(name),\r
+ encoder((opt.hasAttribute ? opt.hasAttribute('value') : opt.getAttribute('value') !== null) ? opt.value : opt.text));\r
} \r
});\r
} else if(!/file|undefined|reset|button/i.test(type)) {\r
}\r
};\r
return pub;\r
- }();</pre> \r
-</body>\r
+ }();</pre>
+</body>
</html>
\ No newline at end of file