Results 1 to 6 of 6

Thread: [2.0a1][SOLVED] Combo.js SVN r. 1079

  1. #1
    Ext JS Premium Member JTM's Avatar
    Join Date
    Mar 2007
    Location
    Plymouth, MI
    Posts
    50
    Vote Rating
    0
      0  

    Default [2.0a1][SOLVED] Combo.js SVN r. 1079

    Good morning,

    After updating to r. 1079 this morning, it looks like some errors were introduced:

    From Combo.js:

    Code:
            if(this.mode == 'local'){
                if(config.queryDelay === undefined){
                    this.queryDelay = 10;
                }
                if(config.minChars === undefined){
                    this.minChars = 0;
                }
            }
    After the refactoring config is not defined.

  2. #2
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
      0  

    Default

    as per https://www.sencha.com/forum/showthread.php?t=13985, pls post your test case + other required details.

  3. #3
    Ext JS Premium Member stever's Avatar
    Join Date
    Mar 2007
    Posts
    1,408
    Vote Rating
    9
      0  

    Default

    Jack started making the components only use initComponent() rather than the constructor (thanks for that! Tree and stuff yet to go!). The bug is a copy & paste error since the constructor had config as an argument, and initComponent does not. The base constructor applys the config to the object, so it is likely supposed to use "this" instead of "config" in those locations.

  4. #4
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664
    Vote Rating
    406
      0  

    Default

    Thank you for the bug report. We will investigate and fix it soon.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  5. #5
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

    Thanks, fixed.
    Jack Slocum
    Sencha Co-Founder, Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum

  6. #6
    Ext JS Premium Member JTM's Avatar
    Join Date
    Mar 2007
    Location
    Plymouth, MI
    Posts
    50
    Vote Rating
    0
      0  

    Default

    Thanks, Jack

Posting Permissions

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