[Dojo-checkins] bill - r26973 - dijit/trunk

dojo-checkins-admin at dojotoolkit.org dojo-checkins-admin at dojotoolkit.org
Mon Nov 7 00:34:30 EST 2011


Author: bill
Date: Sun Nov  6 21:34:29 2011
New Revision: 26973

Modified:
   dijit/trunk/Menu.js
Log:
Fix reference to dojo global in Menu, refs #14228 !strict.

Modified: dijit/trunk/Menu.js
==============================================================================
--- dijit/trunk/Menu.js	(original)
+++ dijit/trunk/Menu.js	Sun Nov  6 21:34:29 2011
@@ -264,7 +264,7 @@
 				// Specified coordinates are on <body> node of an <iframe>, convert to match main document
 				var ifc = domGeometry.position(iframe, true),
 					window = this._iframeContentWindow(iframe),
-					scroll = win.withGlobal(window, "_docScroll", dojo);
+					scroll = win.withGlobal(window, "docScroll", domGeometry);
 
 				var cs = domStyle.getComputedStyle(iframe),
 					tp = domStyle.toPixelValue,


More information about the Dojo-checkins mailing list