Sample/Window.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 21 Jul 2010 10:23:59 +0000 (18:23 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 21 Jul 2010 10:23:59 +0000 (18:23 +0800)
Sample/Window.js

index 1f26e36..dab3d7d 100644 (file)
@@ -2737,11 +2737,11 @@ Window=new XObject({
                                                                                                // if (this.ready) { // dont do it twice!
                                                                                                 //   return; 
                                                                                                //}
-                                                                                               if (this.inspectorShown) {
-                                                                                                       return;
+                                                                                               if (!this.inspectorShown) {
+                                                                                                   this.el.get_inspector().show();
+                                                                                                   this.inspectorShown = true;
                                                                                                }
-                                                                                                this.el.get_inspector().show();
-                                                                                                this.inspectorShown = true;
+                                                                                        
                                                                                                this.ready = true;
                                                                                                 this.pendingRedraw = false;
                                                                                                 var js = this.get('/LeftTree.model').toJS();