Results 1 to 2 of 2

Thread: [FIXED][3.0RC1] DataProxy -- Event name misspelled in request method

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Nov 2007
    Location
    Richardson, Texas
    Posts
    21
    Vote Rating
    0
      0  

    Default [FIXED][3.0RC1] DataProxy -- Event name misspelled in request method

    The event name prefix should be "before", not "beforee":

    Code:
        
    request : function(action, rs, params, reader, writer, callback, scope, options) {
            params = params || {};
            if (this.fireEvent("beforee" + action, this, params) !== false) {
                try {
                    this.doRequest.apply(this, arguments);
                }
                catch (e) {
                    if (typeof(console) == 'object' && typeof(console.error) == 'function') {
                        console.error(e);
                    }
                }
            }
            else {
                callback.call(scope || this, null, arg, false);
            }
        },

  2. #2
    Ext JS Premium Member christocracy's Avatar
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    381
    Vote Rating
    0
      0  

    Default

    Oops, sorry.
    Fixed.
    /**
    * @author Chris Scott
    * @business www.transistorsoft.com
    * @rate $150USD / hr; training $500USD / day / developer (5 dev min)
    *
    * @SenchaDevs http://senchadevs.com/developers/transistor-software
    * @twitter http://twitter.com/#!/christocracy
    * @github https://github.com/christocracy
    */

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •