You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by zo...@apache.org on 2010/07/03 11:11:57 UTC

svn commit: r960188 - /incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/TwistieSection.js

Author: zoe
Date: Sat Jul  3 09:11:57 2010
New Revision: 960188

URL: http://svn.apache.org/viewvc?rev=960188&view=rev
Log:
ARIES-319 Fix rendering problem in TwistieSection

Modified:
    incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/TwistieSection.js

Modified: incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/TwistieSection.js
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/TwistieSection.js?rev=960188&r1=960187&r2=960188&view=diff
==============================================================================
--- incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/TwistieSection.js (original)
+++ incubator/aries/trunk/samples/goat/goat-web/src/main/resources/web/goat/elements/TwistieSection.js Sat Jul  3 09:11:57 2010
@@ -79,6 +79,10 @@ dojo.declare("goat.elements.TwistieSecti
 			if(this.built) {this.twistieHandleGroup.remove(this.twistieHandle);}
 
 			this.createTwistie();
+			if(this.isOpen) {
+				this.removeItemsFromDisplay();
+				this.addItemsToDisplay();
+			}
 			this.component.group.add(this.twistieGroup);
 			console.log("Rendered, x = " + this.x + "y = " + this.y);
 		},