X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsymbols%2Fsrc%2FRoo_Ajax.js.html;h=e441fcff9b50cb3740d00c5a2f0f3752d714d040;hb=e782993daaf056919e22d38c042f55be749483fb;hp=0e94d72bf316133a7ed071e7e234a468e7c89767;hpb=28545502538110361fe8e0b70035bb819e8397ce;p=roojs1 diff --git a/docs/symbols/src/Roo_Ajax.js.html b/docs/symbols/src/Roo_Ajax.js.html index 0e94d72bf3..e441fcff9b 100644 --- a/docs/symbols/src/Roo_Ajax.js.html +++ b/docs/symbols/src/Roo_Ajax.js.html @@ -11,82 +11,30 @@ /** * Global Ajax request class. + * * @class Roo.Ajax * @extends Roo.data.Connection - * @instanceOf 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) */ Roo.Ajax = new Roo.data.Connection({ // fix up the docs - /** - * fix up scoping * @scope Roo.Ajax - */ - - /** - * @cfg {String} url @hide - */ - /** - * @cfg {Object} extraParams @hide - */ - /** - * @cfg {Object} defaultHeaders @hide - */ - /** - * @cfg {String} method (Optional) @hide - */ - /** - * @cfg {Number} timeout (Optional) @hide - */ - /** - * @cfg {Boolean} autoAbort (Optional) @hide - */ - - /** - * @cfg {Boolean} disableCaching (Optional) @hide - */ - - /** - * @property disableCaching - * True to add a unique cache-buster param to GET requests. (defaults to true) - * @type Boolean - */ - /** - * @property url - * The default URL to be used for requests to the server. (defaults to undefined) - * @type String - */ - /** - * @property extraParams - * An object containing properties which are used as - * extra parameters to each request made by this object. (defaults to undefined) - * @type Object - */ - /** - * @property defaultHeaders - * An object containing request headers which are added to each request made by this object. (defaults to undefined) - * @type Object - */ - /** - * @property method - * The default HTTP method to be used for requests. (defaults to undefined; if not set but parms are present will use POST, otherwise GET) - * @type String - */ - /** - * @property timeout - * The timeout in milliseconds to be used for requests. (defaults to 30000) - * @type Number - */ - - /** - * @property autoAbort - * Whether a new request should abort any pending requests. (defaults to false) - * @type Boolean + * @type {Boolear} */ autoAbort : false, /** * Serialize the passed form into a url encoded string + * @scope Roo.Ajax * @param {String/HTMLElement} form * @return {String} */