| CODENOTIFIER | HelpYou are not signed inSign in |
Project: dojo
Revision: 15170
Author: bill
Date: 08 Sep 2008 09:46:10
Diff at Trac: http://trac.dojotoolkit.org/changeset/15170
Changes:Fixes #7605: dijit.tree.ForestStoreModel throws error on newItem if no initial children. !strict
Files:| ... | ...@@ -1341,7 +1341,7 @@ | |
| 1341 | 1341 | _requeryTop: function(){ |
| 1342 | 1342 | // reruns the query for the children of the root node, |
| 1343 | 1343 | // sending out an onSet notification if those children have changed |
| 1344 | var oldChildren = this.root.children; | |
| 1344 | var oldChildren = this.root.children || []; | |
| 1345 | 1345 | this.store.fetch({ |
| 1346 | 1346 | query: this.query, |
| 1347 | 1347 | onComplete: dojo.hitch(this, function(newChildren){ |