In fact, there seems to be something broken/changed in 1.3.

Two tips for you:

1. Read the documentation carefully: 
http://mootools.net/docs/more/Forms/Form.Request (Form.Request takes three 
attributes, not two).
2. Use 1.3-core with 1.3-more - try not to mix branches

Best,
Oskar 

On 2010-10-16, at 11:59, Steve Onnis wrote:

> There seems to be errors all the way through it.  This is on 1.2.4.4-more
>  
> I have loaded up a demo at http://jsfiddle.net/jZudb/
>  
> This is with the 1.3(compat) core and 1.2.4.4 more
>  
> The only thing i can think of is that there is something in there that has 
> not been included as a dependency of the package unless there is an actual 
> error there.
>  
> From: Oskar Krawczyk [mailto:[email protected]] 
> Sent: Saturday, 16 October 2010 7:37 PM
> To: [email protected]
> Subject: Re: [Moo] Issue using Form.Requst
>  
> Latest of which branch, 1.3 or 1.2?
>  
> Also, please take a minute and set up a jsfiddle with a testcase.
>  
> On 2010-10-16, at 10:07, Steve Onnis wrote:
> 
> 
> Just downloaded the latest mootools more package and when i try this....
>  
> new Form.Request(
>       $("login"),
>       {
>       onSucess : function () {
>             alert(arguments[0])
>             }    
>       });
>  
> I get an error saying “this.previous is not a function” on line 1607 which 
> seems to be in the spinner bit on the line highlighted in yellow
>  
> Spinner.implement(new Chain);
>  
> if (window.Request) {
>       Request = Class.refactor(Request, {
>            
>             options: {
>                   useSpinner: false,
>                   spinnerOptions: {},
>                   spinnerTarget: false
>             },
>            
>             initialize: function(options){
>                   this._send = this.send;
>                   this.send = function(options){
>                         if 
> (this.spinner)this.spinner.chain(this._send.bind(this, options)).show();
>                         else this._send(options);
>                         return this;
>                   };
>                   this.previous(options);
>  
>  
> Any ideas?
>  
> Steve
> 
> 
> 
> 
> 
> =======
> Email scanned by PC Tools - No viruses or spyware found.
> (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16090)
> http://www.pctools.com
> =======
> 
> 
> 
> 
> 
> 
> =======
> Email scanned by PC Tools - No viruses or spyware found.
> (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16090)
> http://www.pctools.com
> =======
> 
> 
> 
> 
> 
> =======
> Email scanned by PC Tools - No viruses or spyware found.
> (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16090)
> http://www.pctools.com
> =======

Reply via email to