From: Alan Knowles Date: Wed, 21 Jul 2010 10:23:59 +0000 (+0800) Subject: Sample/Window.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=8e569ceb6b431a29d9737fda430f884ef4ca711d;p=app.Builder.js Sample/Window.js --- diff --git a/Sample/Window.js b/Sample/Window.js index 1f26e362c..dab3d7ded 100644 --- a/Sample/Window.js +++ b/Sample/Window.js @@ -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();