From bbd5b44aabb70a7a09ca64bb1f1cf88b7607f4bb Mon Sep 17 00:00:00 2001 From: Rick Ogden Date: Mon, 23 Jul 2012 14:58:35 +0100 Subject: [PATCH] fixed widget expanding bug. --- js/iD/ui/StepPane.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js/iD/ui/StepPane.js b/js/iD/ui/StepPane.js index fbf5a9ab4..77ed2e3c7 100644 --- a/js/iD/ui/StepPane.js +++ b/js/iD/ui/StepPane.js @@ -87,12 +87,15 @@ declare("iD.ui.StepPane", null, { show:function() { // summary: Show the window. - dijit.byId(this.divname).show(); + if(dijit.byId(this.divname).domNode.style.visibility == 'hidden') + dijit.byId(this.divname).show(); + + console.log(dijit.byId(this.divname)); }, hide:function() { // summary: Hide the window. dijit.byId(this.divname).hide(); - }, + } });