Nothing needs to be updated on MooShell, beta2 is broken, beta1.1 was not.

___

Oskar Krawczyk
http://nouincolor.com


2010/7/11 Fábio M. Costa <[email protected]>

> Here's an updated version but still its giving errors:
>
> http://mootools.net/shell/kFFmJ/1/
>
> Its giving errors on the elements constructor here (safari 5).
>
> TypeError: Result of expression 'el' [null] is not an object. line 1696
>
>
>
> Looks like the nightly build needs an update on mooshell, version beta11
> works just fine.
>
> http://mootools.net/shell/kFFmJ/3/
>
> --
> Fábio Miranda Costa
> Solucione Sistemas
> Engenheiro de interfaces
> Twitter: fabiomiranda
> http://solucione.info
>
>
>
> On Sun, Jul 11, 2010 at 10:37 AM, TimeImp <[email protected]> wrote:
>
>> Hi guys,
>>  I am testing out some code for my new site in anticipation of
>> MooTools 1.3 but have a small problem: whenever I run some of the
>> example MooTools 1.2 ajax form demo code (http://mootools.net/shell/
>> kFFmJ/ <http://mootools.net/shell/%0AkFFmJ/> to see my code), Safari's
>> console throws this error:
>>
>> TypeError: Result of expression 'this.headers' [undefined] is not an
>> object.   core.js:4928
>>
>> which is this chip of code here:
>>
>> if (this.options.urlEncoded && method == 'post'){
>>            var encoding = (this.options.encoding) ? '; charset=' +
>> this.options.encoding : '';
>>            this.headers['Content-Type'] = 'application/x-www-form-
>> urlencoded' + encoding;  <== problem line
>>        }
>>
>> I changed this.headers to this.options.headers and the problem then
>> moves to this line:
>>
>> TypeError: Result of expression 'this.xhr' [undefined] is not an
>> object.       core.js:4943
>>
>> which is this chip of code:
>>
>> this.xhr.open(method.toUpperCase(), url, this.options.async);
>>
>> I then revert them back and the 1st error appears. Am I to understand
>> that this way of sending a form is deprecated or should Form.Request
>> be used?
>>
>> With many thanks,
>>   timeimp
>
>
>

Reply via email to