+++ /dev/null
-<html><head><title>/home/alan/gitlive/roojs1/Roo/Ajax.js</title><link rel="stylesheet" type="text/css" href="../../css/highlight-js.css"/></head><body class="highlightpage"><code class="jsdoc-pretty"><span class="jsdoc-comment">/*
- * Based on:
- * Ext JS Library 1.1.1
- * Copyright(c) 2006-2007, Ext JS, LLC.
- *
- * Originally Released Under LGPL - original licence link has changed is not relivant.
- *
- * Fork - LGPL
- * <script type="text/javascript">
- */
-
-/**
- * Global Ajax request class.
- *
- * @class Roo.Ajax
- * @extends Roo.data.Connection
- * @static
- *
- * @cfg {String} url The default URL to be used for requests to the server. (defaults to undefined)
- * @cfg {Object} extraParams An object containing properties which are used as extra parameters to each request made by this object. (defaults to undefined)
- * @cfg {Object} defaultHeaders An object containing request headers which are added to each request made by this object. (defaults to undefined)
- * @cfg {String} method (Optional) The default HTTP method to be used for requests. (defaults to undefined; if not set but parms are present will use POST, otherwise GET)
- * @cfg {Number} timeout (Optional) The timeout in milliseconds to be used for requests. (defaults to 30000)
- * @cfg {Boolean} autoAbort (Optional) Whether a new request should abort any pending requests. (defaults to false)
- * @cfg {Boolean} disableCaching (Optional) True to add a unique cache-buster param to GET requests. (defaults to true)
- */
-</span><span class="jsdoc-var">Roo.Ajax </span><span class="jsdoc-syntax">= </span><span class="jsdoc-keyword">new </span><span class="jsdoc-var">Roo.data.Connection</span><span class="jsdoc-syntax">({
- </span><span class="jsdoc-comment">// fix up the docs
- /**
- * @scope Roo.Ajax
- * @type {Boolear}
- */
- </span><span class="jsdoc-var">autoAbort </span><span class="jsdoc-syntax">: </span><span class="jsdoc-keyword">false</span><span class="jsdoc-syntax">,
-
- </span><span class="jsdoc-comment">/**
- * Serialize the passed form into a url encoded string
- * @scope Roo.Ajax
- * @param {String/HTMLElement} form
- * @return {String}
- */
- </span><span class="jsdoc-var">serializeForm </span><span class="jsdoc-syntax">: </span><span class="jsdoc-keyword">function</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">form</span><span class="jsdoc-syntax">){
- </span><span class="jsdoc-keyword">return </span><span class="jsdoc-var">Roo.lib.Ajax.serializeForm</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">form</span><span class="jsdoc-syntax">);
- }
-});</span></code></body></html>
\ No newline at end of file