You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by jm...@apache.org on 2008/01/21 04:20:14 UTC

svn commit: r613752 - /incubator/xap/trunk/codebase/src/xap/bridges/dojo/MenuBarBridge.js

Author: jmargaris
Date: Sun Jan 20 20:20:13 2008
New Revision: 613752

URL: http://svn.apache.org/viewvc?rev=613752&view=rev
Log:
https://issues.apache.org/jira/browse/XAP-392

Modified:
    incubator/xap/trunk/codebase/src/xap/bridges/dojo/MenuBarBridge.js

Modified: incubator/xap/trunk/codebase/src/xap/bridges/dojo/MenuBarBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/bridges/dojo/MenuBarBridge.js?rev=613752&r1=613751&r2=613752&view=diff
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/bridges/dojo/MenuBarBridge.js (original)
+++ incubator/xap/trunk/codebase/src/xap/bridges/dojo/MenuBarBridge.js Sun Jan 20 20:20:13 2008
@@ -133,7 +133,7 @@
 	var domNode = this.getRootDomNode();
 	domNode.style.width = value;
 	// this is necessary, the parent node is a table cell and the default value for aling is "center".
-	domNode.parentNode.align = "left";
+	// domNode.parentNode.align = "left";
 }
 
 /** XML attribute set method for "borderWidth" */
@@ -236,4 +236,9 @@
 		x += dojo.style.getOuterWidth(ch.domNode);
 		max_item_height = Math.max(max_item_height, dojo.style.getOuterHeight(ch.domNode));
 	}
+}
+
+
+xap.bridges.dojo.MenuBarBridge.prototype.unload = function() {
+	dojo.widget.PopupManager.closed(this.getPeer());
 }