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/
=======

Reply via email to