Builder3/Window.js
authorAlan Knowles <alan@roojs.com>
Fri, 8 Jun 2012 09:14:24 +0000 (17:14 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 8 Jun 2012 09:14:24 +0000 (17:14 +0800)
Builder3/Window.js

index 66aa118..d2d31df 100644 (file)
@@ -1701,9 +1701,10 @@ Window=new XObject({
                                                                                          }
                                                                                       
                                                                                          this.get('/LeftProjectTree').project = pr;
-                                                                                         this.loading = true;
+                                                                                        var model = this.get('/LeftProjectTree.model');
+                                                                                         model.loading = true;
                                                                                          this.load(pr.toTree());
-                                                                                         this.loading = false;
+                                                                                         model.loading = false;
                                                                                          this.get('/LeftProjectTree.view').el.expand_all();
                                                                                     },
                                                                                     load : function(tr,iter) {