right... You cannot pass all options in the .send method, only url, data and method, as shown here: https://github.com/mootools/mootools-core/blob/master/Source/Request/Request.js#L155-157
We could add the 'filter' method, but that's an Request.HTML only option, so it would be wrong to add this in Request. A solution could be to make a separate method, getSendOptions which can be overwritten/extended by Request.HTML which does support the filter (and update or append) options. I suggest that you create a lighthouse ticket for this, so this won't get lost in all the posts of the ML. On Sat, May 7, 2011 at 1:03 PM, hamburger <[email protected]> wrote: > Aaron, > this code do nothing. > I only wont to show that in this case the filter definition is not > accepted. > > var req = new Request.HTML({ > evalScripts: true, > url: 'keine', > filter: '#none', > ... > }); > > > req.send({url: 'myURL', filter:'#index'}); > > if i define the filter later (as shown), the filter-setting will be > ignored. The url-setting is accepted. > Thats not an issue? > >
