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

index d2d31df..df0c4e5 100644 (file)
@@ -1633,6 +1633,7 @@ Window=new XObject({
                                                                                     if (model.loading) {
                                                                                         return;
                                                                                     }
+                                                                                    print("LOADING IS FALSE");
                                                                                     var ret = {};        
                                                                                     if (this.selection.count_selected_rows() < 1) {
                                                                                         //XN.get('Builder.LeftTree.model').
@@ -1703,8 +1704,10 @@ Window=new XObject({
                                                                                          this.get('/LeftProjectTree').project = pr;
                                                                                         var model = this.get('/LeftProjectTree.model');
                                                                                          model.loading = true;
+                                                                                         print("SET LOADING TO TRUE");
                                                                                          this.load(pr.toTree());
                                                                                          model.loading = false;
+                                                                                         print("SET LOADING TO FALSE");
                                                                                          this.get('/LeftProjectTree.view').el.expand_all();
                                                                                     },
                                                                                     load : function(tr,iter) {