Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    114
    Vote Rating
    0
    JacobGu is on a distinguished road

      0  

    Default [DUPE-239] Store.insert does not fire 'datachanged' event.

    [DUPE-239] Store.insert does not fire 'datachanged' event.


    The documentation for the Store's datachanged event says as follows:

    * @event datachanged
    * Fires whenever the records in the Store have changed in some way - this could include adding or removing records,
    * or updating the data in existing records
    * @param {Ext.data.Store} this The data store
    */
    'datachanged'

    However, the 'insert' method does not fire the event (also called by 'add' method). It should be corrected as follows with red colored code to be added in fix:

    Code:
        insert : function(index, records) {
            records = [].concat(records);
            for (var i = 0, len = records.length; i < len; i++) {
                this.data.insert(index, records[i]);
                records[i].join(this);
            }
            if (this.snapshot) {
                this.snapshot.addAll(records);
            }
            this.fireEvent('add', this, records, index);
            this.fireEvent('datachanged', this);
        }

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough 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  

Similar Threads

  1. Replies: 3
    Last Post: 3 Sep 2010, 6:28 PM
  2. Store not firing Save Event after Insert
    By Bleak in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 10 May 2010, 5:09 AM
  3. Replies: 1
    Last Post: 25 Mar 2010, 12:53 PM
  4. Event datachanged of store
    By anhkpb in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 16 Jul 2009, 2:41 AM

Thread Participants: 1