Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Feb 2010
    Posts
    10
    Vote Rating
    0
    minspect is on a distinguished road

      0  

    Default [FIXED-1163][Extjs 3.3 beta] Function DataView.getRecords is broken

    [FIXED-1163][Extjs 3.3 beta] Function DataView.getRecords is broken


    It's obvious...

    getRecords : function(nodes){
    var records = [],
    i = 0,
    len = nodes.length;

    for(; i < len; i++){
    records[records.length] = this.store.getAt(nodes[i].viewIndex);
    }
    return r; //This line should be return records
    },

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Looks like Evan on caught the issue in getSelectedRecords.

    [type]: fix
    [module]: DataView
    [id]: #1163
    [desc]: Fixes #1163. Fix returned variable reference.

  3. #3
    Sencha User
    Join Date
    Feb 2008
    Posts
    155
    Vote Rating
    0
    WixSL is on a distinguished road

      0  

    Default


    Refactor: Isn't it better to re-write Ext.DataView.getSelectedRecords like this:

    Code:
        
    getSelectedRecords : function(){
        return this.getRecords(this.selected.elements);
    }

  4. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Indeed.

    [type]: refactor
    [module]: DataView
    [id]:
    [desc]: Refactor getSelectedRecords.

Similar Threads

  1. [FIXED-1077][ExtJS 3.3.0] GroupingView is broken
    By vladsch in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 17 Jul 2010, 9:50 AM
  2. Replies: 1
    Last Post: 22 Mar 2010, 9:25 AM
  3. [FIXED-720][3.2-Beta] Animated DataView Example
    By Grolubao in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 12 Mar 2010, 5:40 PM
  4. [FIXED-444][3.1.1-beta] renderAll function is missing
    By nextdigital in forum Ext 3.x: Bugs
    Replies: 4
    Last Post: 18 Jan 2010, 10:40 AM
  5. [FIXED][3.0] ExtJs Core is broken in RC1 package
    By CableDawg in forum Ext 2.x: Bugs
    Replies: 0
    Last Post: 21 Apr 2009, 6:28 AM

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar