Changeset 15170

Show
Ignore:
Timestamp:
09/08/08 06:46:10 (3 months ago)
Author:
bill
Message:

Fixes #7605: dijit.tree.ForestStoreModel? throws error on newItem if no initial children. !strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/Tree.js

    r15119 r15170  
    13421342                // reruns the query for the children of the root node, 
    13431343                // sending out an onSet notification if those children have changed 
    1344                 var oldChildren = this.root.children; 
     1344                var oldChildren = this.root.children || []; 
    13451345                this.store.fetch({ 
    13461346                        query: this.query,