[Commits] r2125 - core/branches/0.7/geoext/tests/lib/GeoExt/widgets/tree

commits at geoext.org commits at geoext.org
Tue Apr 27 10:57:40 CEST 2010


Author: elemoine
Date: 2010-04-27 10:57:40 +0200 (Tue, 27 Apr 2010)
New Revision: 2125

Modified:
   core/branches/0.7/geoext/tests/lib/GeoExt/widgets/tree/RadioButtonMixin.html
Log:
pull up fix to the RadioButtonMixin.html test, thanks ahocevar for helping me with that

Modified: core/branches/0.7/geoext/tests/lib/GeoExt/widgets/tree/RadioButtonMixin.html
===================================================================
--- core/branches/0.7/geoext/tests/lib/GeoExt/widgets/tree/RadioButtonMixin.html	2010-04-27 08:54:06 UTC (rev 2124)
+++ core/branches/0.7/geoext/tests/lib/GeoExt/widgets/tree/RadioButtonMixin.html	2010-04-27 08:57:40 UTC (rev 2125)
@@ -39,7 +39,7 @@
             });
             
             mapPanel.on("render", function() {
-                t.ok(Ext.Element.get(node.ui.anchor.previousSibling).hasClass("gx-tree-radio"), "node has a radio button");
+                t.ok(Ext.fly(node.ui.getEl()).child(".gx-tree-radio"), "node has a radio button");
                 // simulate a click event for testing the radiochange event
                 node.ui.onClick({getTarget: function() {return true}});
             });



More information about the Commits mailing list